Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


Closed Thread
  Search this Thread
Old 10-02-2003, 10:55 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Change password

I have post this question previously, but I can't get the responses , it may because my question is not clearly stated.

I just want to have a suggestion what is the best way to force user to change password regularly, I tried to use the command "chage", it has great problem , it don't allow two or above users to change password at the same time ,
my command is
# chage -d0 userid1
# chage -d0 userid2
But when userid1 is changing the password, then userid2 can't change
the password at the same time,
the below is the error :
login: user2
it will hold at the below screen ,
You are required to change your password immediately (root enforced)

I also tried "passwd -e / -x /-M /-W" , but all are not work to expire the password and send the message to the user .

I do think forcing user to change password is a very common action in the company , could suggest what is the best method to do it ? Thx in advance.
Old 10-03-2003, 07:32 AM   #2
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
u can use the usermod coomand for this.

try the man page of the usermod command
Old 10-03-2003, 08:17 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 253Reputation: 253Reputation: 253
Everyone please respond to this thread, his original as this is a double post:

In the future ust, if you need to make changes or clarify your question, don't double post or post it elsewhere, that's against the rules. You can either edit your original post by pushing the <EDIT> button next to it or just simply reply to it again.

This thread being closed as its against our rules to start the same discussion in more than one forum. If you feel this is unecessary, feel free to email me or the site admin in this decision.


Closed Thread

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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
How do i change my password im1crazyassmofo Linux - General 2 03-19-2003 09:30 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:00 AM.

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