diff options
author | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-11-02 23:38:59 +0100 |
---|---|---|
committer | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-11-02 23:44:21 +0100 |
commit | e2a6668dcd5b4e85c0a5f7ea53198776617d2ef9 (patch) | |
tree | 1a9d9936068c15f978e0477c2329b35af235c59c /Users | |
parent | c9ee9b4fbc4e39767ae658ab2636aac2bc37944a (diff) |
Fix user password modification
Commit ee59351bfa31ee60779a20a79b1b49f308a777b0 broke it by removing the password parameter.
Diffstat (limited to 'Users')
-rw-r--r-- | Users/Users.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Users/Users.pm b/Users/Users.pm index 233a1cc..41bb5cc 100644 --- a/Users/Users.pm +++ b/Users/Users.pm @@ -674,9 +674,11 @@ sub change_user @command = ($cmd_usermod, "-d", $$new_user[$HOME], "-g", $$new_user[$GID], "-l", $$new_user[$LOGIN], + "-p", $$new_user[$PASSWD], "-s", $$new_user[$SHELL], "-u", $$new_user[$UID], $$old_user[$LOGIN]); + &Utils::File::run (@command); } |