set sudo shell

This commit is contained in:
Matthew Saunders Brown 2021-03-30 12:32:56 -07:00
parent 856f0cccff
commit 817aa23441

View File

@ -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