NetBSD-Bugs archive

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

bin/40994: usermod -l change password so user is unable to login

>Number:         40994
>Category:       bin
>Synopsis:       usermod -l change password so user is unable to login
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 11 12:15:00 +0000 2009
>Originator:     Daniel Horecki
>Release:        NetBSD 5.0_RC2
NetBSD myrkr.stars 5.0_RC2 NetBSD 5.0_RC2 (MORR) #10: Mon Feb 23 12:17:50 CET 

When username is changed using usermod, first characters of password is 
overwritten by number of chars from username. E.g.:

myrkr# grep ^te /etc/master.passwd
myrkr# usermod -l testujemy test
myrkr# grep ^te /etc/master.passwd

Change username to something longer than previous name.
Not now, will send patch when it will be ready.

Home | Main Index | Thread Index | Old Index