From 3caf9b1d47c45389c577f427579c73e3ac5298af Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 1 Feb 2012 13:59:05 -0800 Subject: newpasshash: calling usermod with the correct flag might help --- pinyadmin/sbin/newpasshash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 pinyadmin/sbin/newpasshash (limited to 'pinyadmin/sbin/newpasshash') diff --git a/pinyadmin/sbin/newpasshash b/pinyadmin/sbin/newpasshash old mode 100644 new mode 100755 index bf55a76..f0236aa --- 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"; -- cgit v1.2.3