RE: Kickstart User Creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux