Unix administration - passwd prompts for new password only once when <enter> is pressed

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > September 2007 > passwd prompts for new password only once when <enter> is pressed





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author passwd prompts for new password only once when <enter> is pressed
wong_powah@yahoo.ca

2007-09-13, 7:18 am

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?

The exising behavior is:
# 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

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com