Bug 22667 - yppasswd creates DES passwords
Summary: yppasswd creates DES passwords
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: yp-tools
Version: 7.1
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Aaron Brown
URL:
Whiteboard:
: 3243 22674 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-21 15:20 UTC by Gerald Teschl
Modified: 2007-03-27 03:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-22 17:24:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Gerald Teschl 2000-12-21 15:20:20 UTC
yppasswd creates DES encrypted passwords even if md5 is set and even if
the old password was md5.

Comment 1 Bill Nottingham 2000-12-22 05:29:22 UTC
*** Bug 22674 has been marked as a duplicate of this bug. ***

Comment 2 Gerald Teschl 2001-01-17 18:47:17 UTC
Since the ordinary passwd does it right I recommend to remove yppasswd and
replace it
by a link to passwd.

Comment 3 Alexander Larsson 2002-03-21 15:44:36 UTC
*** Bug 3243 has been marked as a duplicate of this bug. ***

Comment 4 Alexander Larsson 2002-03-22 17:24:52 UTC
I think passwd may be broken actually. I think it looks at the local
configuration and uses md5 if it is used there. setting an md5 password on the
nis server may break login from non-md5 capable machines.

I agree that we should set a md5 password if the previous one is md5 though.

Comment 5 Alexander Larsson 2002-03-25 16:19:42 UTC
yp-tools-2.6-4 sets a MD5 password if the old one was MD5. This is the best we
can do I think.

Comment 6 Doug Sibley 2003-09-15 12:52:53 UTC
When I try to add a new already crypted password in MD5 format $1$<salt>$<hash>
via useradd -p I get a blank entry in my nis shadow table. Certianly this is an
easy enough to fix bug.


Note You need to log in before you can comment on or make changes to this bug.