LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unix passwd (https://www.linuxquestions.org/questions/linux-software-2/unix-passwd-156310/)

nabil_boussetta 03-11-2004 10:16 AM

unix passwd
 
redhat 8.0
when executing passwd user; the system oblige the user to choose a complicated password
how to disable this feature and let all users choose the passwords that they like?

czarherr 03-11-2004 11:05 AM

if i remember correctly, thats just an alias that is enabled by default in red hat, like the rm alias that drove me up the wall until i intalled slack. either run passwd with a forward slash in front of it to escape the alias

\passwd user

or find out where the alias' are being declared and edit that file. i want to say they are in /etc/profile somewhere, but i could likely be totally off on that

trickykid 03-11-2004 11:08 AM

This is usually featured in the /etc/login.defs file.

coolamit78 03-11-2004 11:19 AM

Log in as root on a terminal and then type the command

passwd <username>

The system will accept any password for the specified user.

If that dosent work, post the error message that you are getting at the time of command execution.

Regards,

amit

nabil_boussetta 03-11-2004 11:23 AM

i'd like that users could do this (not root)

trickykid 03-11-2004 11:33 AM

Quote:

Originally posted by nabil_boussetta
i'd like that users could do this (not root)
Did you not read my reply, edit the /etc/login.defs to make it so it doesn't check for weak passwords. Personally I would leave it be and force this as it will require stronger and harder passwords to your system. You should emphasize this with your users and educate them on good security practice, with this being the starting point.


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