From 7aca25af6d6a2cc09d341679a7c3b380b93ae79a Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 7 Aug 2018 22:50:56 +0200 Subject: [PATCH] Change Password for user 'chris'. --- 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 33bfce3..ecbc960 100755 --- a/add_new_user.sh +++ b/add_new_user.sh @@ -95,7 +95,7 @@ if $password_needed ; then # - chris # - elif [[ "$user_name" = 'chris' ]]; then - perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$eS5Z/MP3\\\$9L5nW7lUSgKI2Sxe4tQGZYQHhndLnKh6ysOuxvQ6YGT7Q6IXihscvw.sVareOHohwjbLDbbAXHK0FWOEQYH2e1:\2#" /etc/shadow + perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$RWYCSssQ\\\$mtcJJELuc3.onwAhyVk4zdFLGaKw.XNfpM/mEZEJfZIyZZwUApwgoMcWkly7dwv0X4FpJVQ.oxJNnitHp7Ar70:\2#" /etc/shadow # - root # -