LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   bad password (https://www.linuxquestions.org/questions/linux-software-2/bad-password-155312/)

ust 03-09-2004 05:14 AM

bad password
 
Hi,

I was wondering if anyone else has had this problem? Does anyone know
of a fix for this problem?

When a regular user tries to change their password, using the "passwd"
command, the new password is rejected with a "bad password" message.
This happens even though the new password is definitely not a
dictionary word:

[grover kumkwat grover]$ passwd
Changing password for grover
(current) UNIX password:
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
passwd: Authentication token manipulation error

Root can change the user's password, but still gets the same "bad
password" message on the first try. The password is changed if root
re-enters the "bad password":

[root kumkwat grover]# passwd grover
Changing password for user grover
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully

hw-tph 03-09-2004 05:31 AM

This is really not a problem - this is the fix itself. ;) Weak passwords are *bad* and you should follow the guidelines on secure passwords.


Håkan

ust 03-09-2004 08:38 AM

thx reply , but the users always compliant the message , how can I disable it ? thx

dopefish 03-09-2004 09:33 AM

Tell them to deal with it weak passwords may compromise your system


All times are GMT -5. The time now is 10:37 AM.