switched from su to sudo
This commit is contained in:
parent
7a34f22188
commit
d8eaaaf47a
|
@ -2,7 +2,7 @@
|
|||
|
||||
# any script that includes this conf file will force user to be vmail
|
||||
if [ "$USER" != "vmail" ]; then
|
||||
exec su --shell /bin/bash "vmail" "$0" -- "$@"
|
||||
exec sudo -u vmail $0 $@
|
||||
fi
|
||||
|
||||
# constants
|
||||
|
|
Loading…
Reference in New Issue
Block a user