LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-10-2003, 08:48 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
About the chage


sorry to repost the question again , but i really still can't fix the problem ,

I use the below command to force user to change the password ,

# chage -d0 user1
# chage -d0 user2

however , there is the below problem :
when the user1 is login and hold the screen :

login: user1
Password:
You are required to change your password immediately (root enforced)
Changing password for user1
(current) UNIX password:

if the user1 is not change the password promptly and stop at the above the screen , then when user2 login to the system , it will stop at the below screen :

login: user2
Password:
You are required to change your password immediately (root enforced)

user2 will hold at the above screen until user1 exit the change password screen , this problem will also happen other RH system , can anyone kindly help to suggest the solution ? Thank in advance.
 
Old 10-10-2003, 09:18 PM   #2
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
I am not sure why this happen , but I also found that if user1 stop at the screen , then root can't use the command chage
# chage -d0 user3
chage: can't lock password file
can I fix the problem if I can unlock the password file ? thx
 
Old 10-11-2003, 07:28 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This is supposed to be a failsafe to stop the password file being written to accidentally. It is therefore a good reason to leave it as it is.
 
  


Reply



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 do i chage the color of a file or a directory in a bash shell Paxmaster Linux - Software 3 10-17-2004 11:21 PM
how to chage the desktop Robin01 Linux - Newbie 1 09-26-2004 07:29 PM
Chage the language locale ust Linux - Software 0 08-16-2004 02:59 AM
How to Chage from DHCP to static jamescov Linux - Networking 2 11-13-2003 08:48 PM
Can't chage screen resolution in KDE 3.1 robo555 Linux - Software 1 03-24-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 AM.

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