- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not Able to change password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО12-31-2010 01:23 AM
тАО12-31-2010 01:23 AM
Not Able to change password
Am facing this problem first time and need your suggestions on same.
When I am changig the passwd of user1 , it just does not change and give a message i.e.
"The password or shadow file is locked.
See the lckpwdf(3C) manpage for further details."
Then I have seen man page of lckpwdf and am not able to understood it.
Following are the logs of the same:-
----------------------------------
root@abc:/etc> /sbin/passwd user1
New password:
Re-enter new password:
The password or shadow file is locked.
See the lckpwdf(3C) manpage for further details.
root@abc:/etc>
-----------------------------------
Could any one please suggest me.
What I can do to resolve the issye.
Thanks & Regards,
LN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 01:40 AM
тАО12-31-2010 01:40 AM
Re: Not Able to change password
search which process own the lock:
# fuser /etc/.pwd.lock
or
# lsof /etc/.pwd.lock
Then, correct the situation or kill it.
Regards,
Mounaam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 01:40 AM
тАО12-31-2010 01:40 AM
Re: Not Able to change password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 02:10 AM
тАО12-31-2010 02:10 AM
Re: Not Able to change password
I think that lckpwdf/ulckpwdf don't check if the lock file exists but use lockf(2) with that file.
This file should always exist.
Regards and happy new year,
Mounaam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 02:33 AM
тАО12-31-2010 02:33 AM
Re: Not Able to change password
Looks like you're right.