diff --git a/create_vhost.sh b/create_vhost.sh index db33af4..67c57ca 100755 --- a/create_vhost.sh +++ b/create_vhost.sh @@ -2373,8 +2373,11 @@ if $_suEXEC ; then fi fi #fi + # - suEXEC user doesn't need a login shell (suexec only checks UID/GID + # - and docroot), so use '/usr/sbin/nologin' + # - echononl "\tAdding User \"$suEXEC_user\".." - useradd -g $suEXEC_group -d $_web_base_dir -s /bin/bash -m $suEXEC_user + useradd -g $suEXEC_group -d $_web_base_dir -s /usr/sbin/nologin -m $suEXEC_user if [ "$?" = "0" ]; then echo_ok else