Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Gareth Bailey
I have had a look at crypt (enigma), but it doesn't appear to use the same algorithm? I need the same as that used in passwd! Thanks On 8/15/05, Gareth Bailey [EMAIL PROTECTED] wrote: Hi there, I am using pserver for authentication on CVS. Rather than use the same passwords as in

Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Lowell Gilbert
Please don't top-post. Gareth Bailey [EMAIL PROTECTED] writes: I have had a look at crypt (enigma), but it doesn't appear to use the same algorithm? Correct. I need the same as that used in passwd! The algorithm is selectable; the mechanism is crypt(3). The standard

Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Daniel Marsh
On Tue, 16 Aug 2005 18:07:06 +0800, Gareth Bailey [EMAIL PROTECTED] wrote: I have had a look at crypt (enigma), but it doesn't appear to use the same algorithm? I need the same as that used in passwd! Thanks Try making a PERL script with the following lines...

Creating standalone passwords in /etc/passwd format

2005-08-15 Thread Gareth Bailey
Hi there, I am using pserver for authentication on CVS. Rather than use the same passwords as in /etc/passwd, I'd rather create different ones for users. How would I output a password to, for example, a text file in the same format as that of /etc/passwd. i.e: # xxx mynewpassword