[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: useradd and passwd



But how do I generate that encrypted password from a simple password in a
shell script or a perl script.

The crypt function mentioned is a c library function ?

Vivek

----- Original Message -----
From: "Mithun Bhattacharya" <mithun.b@xxxxxxxxxxxxx>
To: <linux-delhi@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 10, 2001 10:35 AM
Subject: Re: [linux-delhi] useradd and passwd


>        -p passwd
>               The  encrypted password, as returned by crypt(3) or
>               an MD5 password generator.  The default is to  dis­
>               able the account.
>
> From the same useradd man page.....
>
> ------------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/linux-delhi