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
|
||||
if [ "$USER" != "vmail" ]; then
|
||||
exec sudo -u vmail $0 $@
|
||||
exec sudo -u vmail --shell /bin/bash $0 $@
|
||||
fi
|
||||
|
||||
# constants
|
||||
|
|
Loading…
Reference in New Issue
Block a user