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

Bug#2795: passwd asks for old null password, prints printf , pattern



On Mon, 22 Apr 1996, Bruce Perens wrote:

> "passwd" asks for the old password even if there is none.

I can't duplicate it.

RoOt@femto[~]$ tail -1 /etc/passwd
foo::1004:1004::/home/foo:/bin/bash
RoOt@femto[~]$ passwd foo
Changing password for foo
Enter new password:
Password not changed.
RoOt@femto[~]$ exec login foo
Linux femto 1.3.92 #3 Sun Apr 21 14:55:08 CDT 1996 i486
$ passwd
Changing password for foo
Enter new password:
Re-type new password:
Password changed.
$

It didn't ask me for the old password whether I tried to change it as
root or the user.  What am I doing differently?

> Given an incorrect user name, it prints the %s in a printf pattern.

Fixed.

Guy


Reply to: