Great!! Thanks Miguel! That's all I needed to know. I
didnt know salt becomes the first 11 chars. I reverted
to DES using the authconfig utility, but you're right,
im going back :)

Christie




--- "Miguel A.L. Paraz" <[EMAIL PROTECTED]> wrote:
> In /etc/pam.d/passwd, you will find:
> 
> password   required     /lib/security/pam_pwdb.so
> use_authtok nullok md5 shadow
> 
> Take out 'md5'.
> 
> But why switch back to weaker encryption... to
> verify using MD5, just call
> crypt() with the password to verify and the first 11
> chars of the stuff in
> the password file as the salt.  The salt always
> starts with '$1$' in MD5.
> 
> 
> On Wed, Feb 28, 2001 at 09:46:20PM -0800, Mary
> Christie Generalao wrote:
> > How do i force RH7 to use DES passwords (or if im
> > using the wrong algorithm, i mean the 13-char
> > password) instead of the MD5 password that's
> currently
> > active? I wanted to revert to the old standard
> > password because  some of our scripts that check
> the
> > password cant understand md5. i wish to go back to
> the
> > old format without reinstalling the OS. Any tips?
> 
> -- 
> 
> http://www.internet.org.ph            The Philippine Internet
> Resource
> Mobile Voice/Messaging:               +63-917-810-9728
> 
> 
> 
> 
> 
> _
> Philippine Linux Users Group. Web site and archives
> at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to
> [EMAIL PROTECTED]
> 
> To subscribe to the Linux Newbies' List: send
> "subscribe" in the body to
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to