add_new_user.sh: set user_uid/user_gid to '1033' if new user is 'cryptpad'.
This commit is contained in:
parent
7aca25af6d
commit
73c91e9ea8
@ -50,6 +50,9 @@ if ! id -u "${user_name}" > /dev/null 2>&1 ; then
|
|||||||
elif [[ "$user_name" = 'back' ]]; then
|
elif [[ "$user_name" = 'back' ]]; then
|
||||||
user_uid=1060
|
user_uid=1060
|
||||||
user_gid=1060
|
user_gid=1060
|
||||||
|
elif [[ "$user_name" = 'cryptpad' ]]; then
|
||||||
|
user_uid=1033
|
||||||
|
user_gid=1033
|
||||||
else
|
else
|
||||||
|
|
||||||
declare -i _id=$(expr $min_uid - 1)
|
declare -i _id=$(expr $min_uid - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user