[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Kickstart User Creation
- From: "Joshi, Vinay (MED, GEMS-IT)" <Vinay Joshi geind ge com>
- To: <kickstart-list redhat com>
- Subject: RE: Kickstart User Creation
- Date: Mon, 28 Apr 2003 14:31:08 +0530
I am not very sure if this perl command give u encrypted "unix system"
passwords.(to me it appears it uses some other encryption algo)...
but C function crypt() on linux with salt same as passwd will give u
encypted passwd for the system.
-----Original Message-----
From: Gareth Bromley [mailto:gbromley intstar com]
Sent: Monday, April 28, 2003 1:45 AM
To: kickstart-list redhat com
Subject: RE: Kickstart User Creation
On Mon, 28 Apr 2003, Joshi, Vinay (MED, GEMS-IT) wrote:
> I dont know the issue with encrypted passwds. As said before can be
> picked up from shadow file.
> or if you really want.. generate it .Create an executable ( compiled
4
> line C code, using crypt(), and seed as same as supplied passwd
> generates the system passwds)
Or use the following perl code to generate it from the unencrypted
versions at Kickstart time.
perl -e 'print crypt("myHighlySecureClearTextPassword", "Xa") . "\n";'p
Note: You'd need to wrapper this with the necessary usermod etc
commands.
Of course one has to ask, why leave cleartext passwords in a text file
to
build systems?
Enjoy
Gareth
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]