Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
password encryption algorithm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vns
n00b
n00b


Joined: 27 May 2004
Posts: 16
Location: Varna, Bulgaria

PostPosted: Wed Aug 18, 2004 4:42 pm    Post subject: password encryption algorithm Reply with quote

I have a gentoo server which uses DES for encrypting passwords. This results in a maximum length being eight characters. I want to change the encryption algorithm to MD5 in order to have longer passwords. Is it possible and if yes, how?

Thanks in advance
Back to top
View user's profile Send private message
aetius
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2004
Posts: 118

PostPosted: Thu Aug 19, 2004 8:28 pm    Post subject: Re: password encryption algorithm Reply with quote

vns wrote:
I have a gentoo server which uses DES for encrypting passwords. This results in a maximum length being eight characters. I want to change the encryption algorithm to MD5 in order to have longer passwords. Is it possible and if yes, how?

Thanks in advance


It depends on how far you went with DES. Assuming you were using PAM and a normal default configuration (i.e. you removed the md5 option), you can switch your PAM settings and then re-passwd all your users to upgrade their configuration. There's some basic info here:

http://lists.debian.org/debian-user/2002/07/msg02677.html

About switching over the pam configuration and the pam_unix.so options to set password length. I believe (from other research) that the maximum password length for DES is 15 -- that would be changed either in /etc/login.defs (old) or in /etc/pam.d/ .
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum