- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- about the chage
Operating System - Linux
1820069
Members
2340
Online
109608
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 01:47 PM
тАО10-10-2003 01:47 PM
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.
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.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 02:08 PM
тАО10-10-2003 02:08 PM
Re: about the chage
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
# chage -d0 user3
chage: can't lock password file
can I fix the problem if I can unlock the password file ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 02:48 PM
тАО10-10-2003 02:48 PM
Re: about the chage
The user does have a file lock on passwd. You should be able to find the process holding the lock using lsof. Afterwards an appropriate kill can take care of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 03:50 PM
тАО10-10-2003 03:50 PM
Re: about the chage
thx reply,
instead of this method , is it possible to disable the lock function when user are changing the password ? thx.
instead of this method , is it possible to disable the lock function when user are changing the password ? thx.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP