- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: passwd file problem
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
Forums
Discussions
Discussions
Forums
Discussions
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
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-14-2000 11:51 AM
12-14-2000 11:51 AM
passwd file problem
I have HP-UX v11.00, 64bit server. On this, I am unable to add users if I try to add using sam, it says "/etc/passwd file busy try at some other time". I am sure that nobody else is editing passwd file.
Also if I say vipw, then it comes out saying
"lockf: Lockf deadlock detection
vipw: Cannot obtain lock for /etc/ptmp"
I have removed /etc/ptmp file but still the same problem appears.
Can someone have any idea , what could be the problem.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 12:02 PM
12-14-2000 12:02 PM
Re: passwd file problem
chmod 400 /etc/.pwd.lock
chown root:sys /etc/.pwd.lock .... ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 12:08 PM
12-14-2000 12:08 PM
Re: passwd file problem
I have tried that still the problem persists.
Is that something to do with locking mechanism. If yes, then how to detect that condition & how to clear lock on /etc/passwd.
Thanks,
Sandeep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 01:08 PM
12-14-2000 01:08 PM
Re: passwd file problem
user information in password file)
? Kill the chfn process
? Test it
Hope this helps,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 01:39 PM
12-14-2000 01:39 PM
Re: passwd file problem
I don't find any chfn process on the server.
Thanks,
Sandeep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 02:50 PM
12-14-2000 02:50 PM
Re: passwd file problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 03:04 PM
12-14-2000 03:04 PM
Re: passwd file problem
There are many different flavors there, so just choose the one appropriate for your machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 07:08 PM
12-14-2000 07:08 PM
Re: passwd file problem
But, your not sure who has the other process. Well, depending on your O/S and how many disks you have it on. You probably know the address of the disk that etc is on. On my box it's the o/s primary disk. So you can use this to check for processes running on it.
Try some variations-check manpage fuser.
fuser -u /dev/dsk/c_t_d_
fuser -u /
Your looking for who's got this file and then you can use the -k option to do a sigkill to the process.
Just a thought,