diff --git a/etc/vmail.conf b/etc/vmail.conf index 838ec0d..1537ff6 100644 --- a/etc/vmail.conf +++ b/etc/vmail.conf @@ -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