Commit cb8fb01b authored by Franco Fichtner's avatar Franco Fichtner

auth: actually, that's how FreeBSD does it...

parent 06881b90
...@@ -441,7 +441,7 @@ function local_user_set(&$user) ...@@ -441,7 +441,7 @@ function local_user_set(&$user)
/* determine add or mod */ /* determine add or mod */
if (($userattrs[0] != $user['name']) || (!strncmp($pwread, 'pw:', 3))) { if (($userattrs[0] != $user['name']) || (!strncmp($pwread, 'pw:', 3))) {
$user_op = 'useradd -m -k /etc/skel -o'; $user_op = 'useradd -m -k /usr/share/skel -o';
} else { } else {
$user_op = 'usermod'; $user_op = 'usermod';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment