set sudo shell
This commit is contained in:
parent
856f0cccff
commit
817aa23441
|
@ -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 sudo -u vmail $0 $@
|
exec sudo -u vmail --shell /bin/bash $0 $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
Loading…
Reference in New Issue
Block a user