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

This is a discussion on passwd prompts for new password only once when <enter> is pressed within the Linux Security forums, part of the System Security and Security Related category; When I just press the "enter" key when passwd prompts for new password, I should get re-prompted ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2007
wong_powah@yahoo.ca
 
Posts: n/a
Default passwd prompts for new password only once when <enter> is pressed

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

# uname -a
Linux tulip 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686
i686 i386 GNU/Linux

Reply With Quote
  #2 (permalink)  
Old 09-13-2007
Chris Davies
 
Posts: n/a
Default Re: passwd prompts for new password only once when <enter> is pressed

wong_powah@yahoo.ca wrote:
> 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?


Passwd assumes that if you're changing a password as root then you
really know what you're doing. For all other users it will continue to
insist for a valid password.

Chris
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0