From eede408c92ff17c01885a00bc162e4628fbcf50b Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 13 Feb 2024 13:24:45 +0100 Subject: [PATCH] add_new_user.sh: change passwort for wadmin. --- add_new_user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add_new_user.sh b/add_new_user.sh index 3a7af55..b2e18f2 100755 --- a/add_new_user.sh +++ b/add_new_user.sh @@ -366,7 +366,7 @@ if $password_needed ; then # - wadmin # - elif [[ "$user_name" = 'wadmin' ]]; then - perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$vaVNOPYp\\\$RbV6/phKDZRSa4TQGlJVOF/HQqyxAK7BeQmir8Kr8pwy7ATlHGvcPzJkuldNNp4O4t2q3EJRW2uVpjsng4ZhH1:\2#" /etc/shadow + perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$sLWIXKTW\\\$i/STlSS0LijkrnGR/XMbaxJsEbrRdDYgqyCqIr.muLN5towes8yHDCXsyCYDjuaBNKPHXyFpr8lclg5DOm9OF1:\2#" /etc/shadow # - marcus Opferperspektive