diff --git a/add_new_user.sh b/add_new_user.sh index c897779..33bfce3 100755 --- a/add_new_user.sh +++ b/add_new_user.sh @@ -100,7 +100,7 @@ if $password_needed ; then # - root # - elif [[ "$user_name" = 'root' ]]; then - perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$JO92p9nG\\\$r/DiHWgK2dZZkSCDDNeLRQwH3Etp0XZeJY9VfX3Tbka0JOXuqWsXkn98V.pCf5BarZjQ4gND.rLs1ARJ7p/P40:\2#" /etc/shadow + perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$shJF/I7l\\\$Z9H3on8zNLS3AxR3TtYU1lmMW7sHnpn9ylW2.758uOIDBl0Sku2x7xYfml8ty0JJrhZMXLrGnikprqqtmgAoq1:\2#" /etc/shadow # - Other normal users (uid > $min_uid) # -