Re: How to decrypt rootpassword form kickstart file

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



On 03/31/2015 06:08 PM, Jegadeesh Kumar wrote:
> I have the kick start file where my root password is store like
> 
> # Root password
> rootpw --iscrypted $1$1SItJOAg$UM9n7lRFK1/OCs./rgQtQ/
> # System authorization information
> auth  --useshadow  --passalgo=sha512
> 
> Is there any way to decry pt the password and get it as plain text.

No, it's a one-way hash.  In other words it's possible to encrypt a
password into the hash, but you cannot turn it back into a password.
The way this works is when you login the password you provide is
encrypted and the encrypted version is compared against this string to
see if they match.


Peter
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux