Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-11-2004, 11:16 AM   #1
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
Question 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?
Old 03-11-2004, 12:05 PM   #2
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
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

Last edited by czarherr; 03-11-2004 at 12:08 PM.
Old 03-11-2004, 12:08 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
This is usually featured in the /etc/login.defs file.
Old 03-11-2004, 12:19 PM   #4
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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.


Old 03-11-2004, 12:23 PM   #5
Registered: Oct 2003
Posts: 45

Original Poster
Rep: Reputation: 15
i'd like that users could do this (not root)
Old 03-11-2004, 12:33 PM   #6
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.

Last edited by trickykid; 03-11-2004 at 12:34 PM.


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
Unix Book for Beginners (Not Linux... Unix) suse2166 General 6 11-25-2004 12:46 PM
UNIX (Linux, BSD, etc) Programming :: UNIX kuphryn Programming 8 04-05-2004 12:50 AM
migrate unix passwd to openldap deathstar Linux - Software 0 10-30-2003 05:26 AM
Why did you experienced users of Unix change to unix over Windows? Laptop2250 Linux - General 11 10-28-2003 12:51 PM
How to schedule unix script periodically from unix os level??? gopi_20us Programming 2 03-11-2002 07:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:01 PM.

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