diff options
Diffstat (limited to 'debian/local/update_auth.in')
-rw-r--r-- | debian/local/update_auth.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/local/update_auth.in b/debian/local/update_auth.in index 9b2a58e..d23b5b4 100644 --- a/debian/local/update_auth.in +++ b/debian/local/update_auth.in @@ -297,7 +297,7 @@ if [ ! -f ${SASLDB} ]; then ${SASLDBLISTUSERS} 1>/dev/null 2>&1 || true; echo "$SMPWD" | ${SASLPASSWD} -p -c -u $SMRLM $SMAID \ 1>/dev/null 2>&1 || true; - chown root:smmsp ${SASLDB}; + chown root:sasl ${SASLDB}; chmod 0660 ${SASLDB}; else echo "*** You do not have the ${SASL_BIN} package installed!"; @@ -317,9 +317,9 @@ if [ -x ${SASLPASSWD} ]; then # For sendmail, /etc/sasldb must be 0600 or (0640/0660 w/dontblamesendmail) if [ -f ${SASLDB} ]; then - find ${SASLDB} -gid 0 -print | xargs -r chown root:smmsp; - find ${SASLDB} -gid 8 -print | xargs -r chown root:smmsp; - find ${SASLDB} -group smmsp -print | xargs -r chmod g+rw; + find ${SASLDB} -gid 0 -print | xargs -r chown root:sasl; + find ${SASLDB} -gid 8 -print | xargs -r chown root:sasl; + find ${SASLDB} -group smmsp -print | xargs -r chown root:sasl; chmod g-x,o-rwx ${SASLDB}; fi; |