add_new_user.sh: adjust password for 'root'.
This commit is contained in:
		| @@ -100,7 +100,7 @@ if $password_needed ; then | |||||||
|    # - root |    # - root | ||||||
|    # - |    # - | ||||||
|    elif [[ "$user_name" = 'root' ]]; then |    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) |    # - Other normal users (uid > $min_uid) | ||||||
|    # - |    # - | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user