add_new_user.sh: set user_uid/user_gid to '1033' if new user is 'cryptpad'.

This commit is contained in:
Christoph 2018-08-12 02:20:27 +02:00
parent 7aca25af6d
commit 73c91e9ea8

View File

@ -50,6 +50,9 @@ if ! id -u "${user_name}" > /dev/null 2>&1 ; then
elif [[ "$user_name" = 'back' ]]; then
user_uid=1060
user_gid=1060
elif [[ "$user_name" = 'cryptpad' ]]; then
user_uid=1033
user_gid=1033
else
declare -i _id=$(expr $min_uid - 1)