Re: Setting root password w/ rootpw

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

 



Philip Rowlands wrote:
On Fri, 29 Apr 2005, dan wrote:


I've tried copying sniplets from /etc/passwd from user accounts for
which I set the password, and I knew what the password was, stuff like
that - to no avail.  So... I thought I'd ask here.


Ensure that you have USEMD5=yes in /etc/sysconfig/authconfig; this is
set by kickstart's auth --enablemd5 line.

MD5-based passwords look like this:
$1$h6SOogDr$jZPK48gOLAgayPYLN4gSr0

whereas classic "crypt" passwords like this:
9tJNsoIV/pjgQ

Both can be generated by openssl's passwd applet;
see "openssl passwd --help" for more info.


Cheers,
Phil


All -

I know the difference between the passwords, but I think that Stephen Mah got me on the right track.

He suggested using the grub-md5-crypt command, which works perfectly. Exactly what I was looking for.

Thanks
-dant


[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