From: ivan Date: Fri, 24 Dec 2004 23:27:35 +0000 (+0000) Subject: import NP and *LK* from shadow file as * (no password) X-Git-Tag: freeside_1_4_2~11 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=05430ec3d4d7d2303c0d8012d195923ec86fc289 import NP and *LK* from shadow file as * (no password) --- diff --git a/bin/passwd.import b/bin/passwd.import index df53b50ad..78413c8f5 100755 --- a/bin/passwd.import +++ b/bin/passwd.import @@ -1,5 +1,5 @@ #!/usr/bin/perl -Tw -# $Id: passwd.import,v 1.5.4.3 2003-06-12 14:08:02 ivan Exp $ +# $Id: passwd.import,v 1.5.4.4 2004-12-24 23:27:35 ivan Exp $ use strict; use vars qw(%part_svc); @@ -76,6 +76,8 @@ while () { my($username,$password)=split(/:/); #$password =~ s/^\!$/\*/; #$password =~ s/\!+/\*SUSPENDED\* /; + $password =~ s/^NP$/\*/; + $password =~ s/^\*LK\*$/\*/; $password{$username}=$password; }