summaryrefslogtreecommitdiff
path: root/pinyadmin/sbin/newpasshash
diff options
context:
space:
mode:
Diffstat (limited to 'pinyadmin/sbin/newpasshash')
-rwxr-xr-x[-rw-r--r--]pinyadmin/sbin/newpasshash2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyadmin/sbin/newpasshash b/pinyadmin/sbin/newpasshash
index bf55a76..f0236aa 100644..100755
--- a/pinyadmin/sbin/newpasshash
+++ b/pinyadmin/sbin/newpasshash
@@ -7,7 +7,7 @@ if ( $crypt eq "" ) {
exit 1;
};
-my $ret = system( "/usr/sbin/usermod", "-P", $crypt, $ENV{'SUDO_USER'});
+my $ret = system( "/usr/sbin/usermod", "-p", $crypt, $ENV{'SUDO_USER'});
if ( $ret ) {
print "An error occured.\n";