add_new_user.sh: add user 'ilker'.

This commit is contained in:
root
2018-12-01 01:25:38 +01:00
parent 724f79c926
commit 470b1ee30f
2 changed files with 8 additions and 0 deletions

View File

@@ -130,6 +130,11 @@ if $password_needed ; then
elif [[ "$user_name" = 'christian' ]]; then
perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$2paWmEea\\\$G51JZDzjjDNE75aBl/xuM1dyH.FWYHwNCRHeKWkHhxjUmRRC/v.hhNh5jOk5EbVWDeVh7r5dz1tO2HTZUMftb1:\2#" /etc/shadow
# - ilker
# -
elif [[ "$user_name" = 'ilker' ]]; then
perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$6PRR6JwU\\\$RBsPa/W.ThyGVJVFls9Uxf6GZYyjCeJfNtGbgNosC/jlkCHWCZBWWxL/nwxaJBEKIB1f8f3YBIbm13.see7u3.:\2#" /etc/shadow
# - chris
# -
elif [[ "$user_name" = 'chris' ]]; then