Review your favorite Linux distribution.
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 08-18-2003, 09:02 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Change user password

I want to force all users (about 200 users) to change password , could suggest what is the best way to do that?

I tried the comand "chage " on my RH8 ,

# chage -d 2003/08/19 -W5 user

The system can send the warning messages to the user , but the message disappear very fast ( less than 1 second) , how to hold the message until the user press 'enter' or wait 5 second ? thx.
Old 08-19-2003, 12:28 AM   #2
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
you could change the expiry date pn the password, that way next time they log on it will force them to change password and they wont get in until they have entered a new password.

They also get warning in the days leading up to the cut off date.

try man 5 shadow
Old 08-19-2003, 12:56 AM   #3
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Thx reply ,

I just want to do that , but the problem is the warning message disappear very fast, is there any other method ? thx
Old 08-19-2003, 03:37 AM   #4
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
As sutekh suggests, change the expiry date on their passwords. This will display a more lasting message to them, repeated at regular intervals leading up to the day itself [or so I'm told - none of my passwords ever expire]


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
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 07:07 AM
Change user password ust Linux - Software 2 12-31-2003 05:25 AM
About change user password ust Linux - General 1 12-23-2003 01:59 AM
How to change all user password to the same? explorer1979 Linux - General 3 04-09-2003 01:02 PM > Forums > Linux Forums > Linux - Software

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