Преглед изворни кода

Merge pull request #2000 from xchwarze/patch-1

Debian 10 Fix
Raphael Schneeberger пре 4 година
родитељ
комит
287441dfcf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      bin/v-add-user

+ 1 - 1
bin/v-add-user

@@ -64,7 +64,7 @@ shell_conf=$(echo "$pkg_data" | grep 'SHELL' | cut -f 2 -d \')
 shell=$(grep -w "$shell_conf" /etc/shells |head -n1)
 
 # Adding user
-/usr/sbin/useradd "$user" -s "$shell" -c "$email" -m -d "$HOMEDIR/$user"
+/usr/sbin/useradd "$user" -s "$shell" -c "$email" -m -d "$HOMEDIR/$user" -U
 check_result $? "user creation failed" $E_INVALID
 
 # Adding password