LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2016, 10:51 PM   #1
yogesh95
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
Passwd command is showing "BAD PASSWORD:" as output but there was nothing after the colon, where there should be some reason output.


When we specify a password that doesn't fulfill the coditions, "BAD PASSWORD:<<Reason>>" is output.
Example:
BAD PASSWORD: it does not contain enough DIFFERENT characters

There was a situation when "BAD PASSWORD:" was output but there was nothing after the colon, where there should be some reason output.
 
Old 03-29-2016, 12:02 AM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
You're going to have to provide a lot more information than that.
 
Old 03-29-2016, 12:25 AM   #3
yogesh95
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
We are not sure what password was put when this was out put.
But we got warning message without any reason.
 
Old 03-29-2016, 08:59 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Check the logs.
 
Old 03-31-2016, 07:50 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
FYI, Linux systems use a subsystem called PAM = Pluggable Authentication Modules to handle all aspects of authentication and authorization. The rules related to passwords are probably to be found in /etc/pam.d/passwd.

I have not personally dumpster-dived into this particular aspect of the system, yet, but I believe that this will be the proper place to look. And I also expect that some log-file in /var/log will contain more relevant information. (grep is your friend.)
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'passwd' command - "BAD PASSWORD: it does not contain enough DIFFERENT characters"? SirTristan Linux - Newbie 6 08-02-2012 11:34 PM
how to write output of a "info roms" command in qemu to a file tincy Linux - Virtualization and Cloud 2 03-14-2011 12:32 AM
square brackets in output of "ps aux" not matching output of "ps -ejH" alirezan1 Linux - Newbie 14 07-14-2010 04:17 AM
Feeding the output of "diff" or "cat" command to dpkg --purge kushalkoolwal Debian 9 06-19-2008 07:27 AM
Turn off "Bad password" forcing in passwd Rotwang Linux - General 1 05-02-2006 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09: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
Open Source Consulting | Domain Registration