Re: passwd prompts for new password only once when <enter> is pressed



wong_powah@xxxxxxxx schrieb:
When I just press the "enter" key when passwd prompts for new
password, I should get re-prompted 3 times. Instead, it reprompts only
once for FC 6.
How to change passwd's behavior so that it will re-prompt 3 times?

# adduser admin
# passwd admin
Changing password for user admin.
New UNIX password:
BAD PASSWORD: it is WAY too short
Retype new UNIX password:
No password supplied
No password supplied
No password supplied
passwd: Authentication token manipulation error

I've seen similar behaviour on a box, whose root-partion
was mounted READ-ONLY. So try

mount -o remount,rw /

HTH Martin
.



Relevant Pages