Operating System - Linux
1751878 Members
5318 Online
108782 Solutions
New Discussion юеВ

What's kind encrpytion of shadow password?

 
nataris
Advisor

What's kind encrpytion of shadow password?


I suspect that about what is the method encryption of shadown password.

Please help to suggest me.
6 REPLIES 6
Jeeshan
Honored Contributor

Re: What's kind encrpytion of shadow password?

check this link

http://tldp.org/HOWTO/Shadow-Password-HOWTO-2.html
a warrior never quits
Ivan Ferreira
Honored Contributor

Re: What's kind encrpytion of shadow password?

Normally it's md5
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Taifur
Respected Contributor

Re: What's kind encrpytion of shadow password?

Hi Nataris,


Linux do allow you to use md5 to encrypt /etc/shadow password.Red Hat can use MD5 So can Mandrake, SuSE, Debian, etc. If you don't choose MD5, most Linux distros will normally use the old (weak) Unix encryption "crypt".


Rgds//
Taifur
mohamed.bouraoui
Frequent Advisor

Re: What's kind encrpytion of shadow password?

the encrypt method used in shadow file is MD5, and the command crypt is used to encypt.
Regards.
Sundar G
Frequent Advisor

Re: What's kind encrpytion of shadow password?

Hi Mohamed/Ivaan,

To add this topic, i have an application running on HP UX 11.11 on an L class server, runs fine.

But when i enabled shadow passwd on it, it fails to authenticate the user.

The appln. experts say it can support only MD5 shadow password and not the plain one.

In that case i belive HP UX shadow does not support MD5 by default. If i am right, could you please tell me how can i convert the shadow password entry (atleast for specific user id) to MD5 format?

Appreciate your reply.


BTW the same appln runs fine in linux after shadow enabled.

Regards

Sundar

mohamed.bouraoui
Frequent Advisor

Re: What's kind encrpytion of shadow password?

Dear friend,
I guest you to visite this web page, you can found all what you need.
http://docs.hp.com/en/B2355-90950/ch08s15.html