summaryrefslogtreecommitdiff
path: root/pinyadmin
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2012-02-01 13:59:05 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2012-02-01 13:59:05 -0800
commit3caf9b1d47c45389c577f427579c73e3ac5298af (patch)
treed351d223d67e4e4e7e418aa3ee4dc9829dc5df5c /pinyadmin
parent8a4e3cedb5ec2975228faad597909037d3225950 (diff)
downloadpiny-code-3caf9b1d47c45389c577f427579c73e3ac5298af.tar.gz
piny-code-3caf9b1d47c45389c577f427579c73e3ac5298af.zip
newpasshash: calling usermod with the correct flag might help
Diffstat (limited to 'pinyadmin')
-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";