diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-02-01 13:59:05 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-02-01 13:59:05 -0800 |
commit | 3caf9b1d47c45389c577f427579c73e3ac5298af (patch) | |
tree | d351d223d67e4e4e7e418aa3ee4dc9829dc5df5c | |
parent | 8a4e3cedb5ec2975228faad597909037d3225950 (diff) | |
download | piny-code-3caf9b1d47c45389c577f427579c73e3ac5298af.tar.gz piny-code-3caf9b1d47c45389c577f427579c73e3ac5298af.zip |
newpasshash: calling usermod with the correct flag might help
-rwxr-xr-x[-rw-r--r--] | pinyadmin/sbin/newpasshash | 2 |
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"; |