Re: Making Linux User Password using perl
by Vikasumit other posts by this author
Jun 22 2006 12:39AM messages near this date
view in the new Beta List Site
Re: Making Linux User Password using perl
|
CodeDomProvider access to .NET Perl implementation
FRAMEWORK Hi,
I am using
my $tmp=crypt('sumit','ss');
$encryptedpassword=crypt('sumit','$1$'.$test1.'$');
is this work with Linux user /etc/shadow file
Thanks
sumit Gupta
On 6/22/06, Minh Tran <mtran@[...].au> wrote:
>
> see crypt function
> crypt(text,salt);
>
>
> ie
>
> $crypted=crypt('password','AH');
> print $crypted;
>
> On 22/06/06, Vikasumit < vikasumit@[...].com> wrote:
>
> > Hi,
> >
> > I am writing a Perl Script that a user run to make linux user password
> > style password ....
> >
> > I mean If a user type "password"
> >
> > I can save this password such that I just replace it in /etc/shadow
> > password coulmn and his password changes.
> >
> > I can generate password using PHP crypt function but not through perl
> > please help...
> > Thanks
> > Sumit Gupta
> >
> > _______________________________________________
> > Perl.NET mailing list
> > Perl.NET@[...].com
> > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs<http://listserv.activesta
te.com/mailman/mysubs>
> >
> >
>
>
Thread:
Vikasumit
$Bill Luebkert
Vikasumit
$Bill Luebkert
Vikasumit
|