mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
auth: actually, that's how FreeBSD does it...
This commit is contained in:
parent
06881b90fe
commit
cb8fb01b9c
@ -441,7 +441,7 @@ function local_user_set(&$user)
|
||||
|
||||
/* determine add or mod */
|
||||
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 {
|
||||
$user_op = 'usermod';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user