File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ test/node_modules/
1515npm-debug.log
1616.phpunit.result.cache
1717.vs
18+ .nova
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ check_result $? "user creation failed" $E_INVALID
6363echo " $user :$password " | /usr/sbin/chpasswd
6464
6565if [ $? -ne 0 ]; then
66- # Delete user on failure again
67- /usr/sbin/deluser " $user "
68- echo " Error: Password not accepted by PAM requirements "
66+ # Delete user on failure
67+ /usr/sbin/deluser " $user " > /dev/null 2>&1
68+ echo " Error: Password not accepted due to PAM restrictions "
6969 exit 2
7070fi
7171
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ echo "$ftp_user:$password" | /usr/sbin/chpasswd
9696
9797if [ $? -ne 0 ]; then
9898 # Delete user on failure again
99- /usr/sbin/deluser " $ftp_user "
100- echo " Error: Password not accepted by PAM"
99+ /usr/sbin/deluser " $ftp_user " > /dev/null 2>&1
100+ echo " Error: Password not accepted due to PAM restrictions "
101101 exit 2
102102fi
103103
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ check_hestia_demo_mode
4949echo " $user :$password " | /usr/sbin/chpasswd
5050
5151if [ $? -ne 0 ]; then
52- echo " Error: Password not changed due to PAM requirements "
52+ echo " Error: Password not accepted due to PAM restrictions "
5353 exit 2
5454fi
5555
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ check_hestia_demo_mode
5858echo " $ftp_user :$password " | /usr/sbin/chpasswd
5959
6060if [ $? -ne 0 ]; then
61- echo " Error: Password not changed due to PAM requirements "
61+ echo " Error: Password not accepted due to PAM restrictions "
6262 exit 2
6363fi
6464
You can’t perform that action at this time.
0 commit comments