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
|
# any script that includes this conf file will force user to be vmail
|
||||||
if [ "$USER" != "vmail" ]; then
|
if [ "$USER" != "vmail" ]; then
|
||||||
exec su --shell /bin/bash "vmail" "$0" -- "$@"
|
exec sudo -u vmail $0 $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
Loading…
Reference in New Issue
Block a user