update supported_files.

This commit is contained in:
2023-12-08 10:59:24 +01:00
parent 08b015c55d
commit 47dfe74658
6 changed files with 13 additions and 7 deletions

View File

@@ -34,6 +34,8 @@ sudo_users="
init
marcus
xmatti
c3po
jason
"
@@ -285,6 +287,12 @@ if $password_needed ; then
elif [[ "$user_name" = 'c3po' ]]; then
perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$6\\\$z0yywBoF\\\$VtusXNrSvL4s4kQSeCl/6rZoCcAOz0aSINm0ArntILNvLnurVDGk9nJz42ZMya/DFe8snlf5kLymeAmNRiyDK/:\2#" /etc/shadow
# - jason
# -
# - 2Gw/FY6N-K.Ate-R
elif [[ "$user_name" = 'c3po' ]]; then
perl -i -n -p -e "s#^(${user_name}):[^:]+:(.+)#\1:\\\$y\\\$j9T\\\$.L0YWnREcDrMep6Irp44e/\\\$NW1LV7tMssSJ.ot5if9wM5vm2XoulnlM9mETZldUuy.:\2#" /etc/shadow
# - chris
# -
elif [[ "$user_name" = 'chris' ]]; then