From 817aa2344169cd60ec655b670711d2fded6c44ad Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 30 Mar 2021 12:32:56 -0700 Subject: [PATCH] set sudo shell --- etc/vmail.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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