LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-12-2007, 08:56 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
passwd prompts for new password only once when <enter> is pressed


When I just hit "enter" when passwd prompts for new password, I should get re-prompted 3 times. Instead, it reprompts 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

Last edited by powah; 09-12-2007 at 08:59 AM.
 
Old 09-13-2007, 07:18 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
what's the point of prompting three times?

and why aren't you putting a password on that account?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rdesktop Server & Password Prompts? DHR Linux - Software 1 12-12-2008 12:52 PM
Simple Shell Question Regarding Password Prompts pr0gr4mm3r Linux - Software 4 03-05-2007 03:48 PM
How can you determine if a user pressed the enter key? jimwelc Programming 3 04-04-2006 11:08 PM
SVN and Apache, multiple password prompts watsoncj Linux - Software 0 10-10-2005 02:36 PM
mount - a passwdless 98 share prompts for password bkeating Linux - Software 1 11-22-2002 02:06 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration