comparison install.bash @ 42:afcf403709ef

updates for 3.2, try to drop root privileges
author carl
date Mon, 05 Jul 2004 13:09:44 -0700
parents d95af8129dfa
children 66c66a6ee65f
comparison
equal deleted inserted replaced
41:d95af8129dfa 42:afcf403709ef
23 fi 23 fi
24 24
25 25
26 ##################### 26 #####################
27 # ensure the user is created 27 # ensure the user is created
28 /usr/bin/getent passwd dnsbl || useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl 28 /usr/bin/getent passwd dnsbl || /usr/sbin/useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl
29 # install the milter 29 # install the milter
30 DST=/etc/dnsbl 30 DST=/etc/dnsbl
31 mkdir -p $DST 31 mkdir -p $DST
32 if [ -f /var/dnsbl/dnsbl.conf ]; then 32 if [ -f /var/dnsbl/dnsbl.conf ]; then
33 # move the conf files to the new location 33 # move the conf files to the new location