summaryrefslogtreecommitdiff
path: root/Users
diff options
context:
space:
mode:
Diffstat (limited to 'Users')
-rw-r--r--Users/Users.pm2
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);
}