- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- currupt passwd file
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
тАО07-15-2003 08:30 AM
тАО07-15-2003 08:30 AM
It seems that the passwd file got currupt.
It is not possible to get access not even with root.
I tried in single user mode and got the failure message "no root, bin, ... started with UID ..."
Is there any way of getting this back working without creating from scratch or play back an ignite backup?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 08:35 AM
тАО07-15-2003 08:35 AM
Re: currupt passwd file
pwck
grpck (hoping you have a group file).
It is usually far easier to restore the passwd file from a backup. Rebuilding from scratch will get you your regular users, but what about your system users?
A full Ignite restore is going to rebuild the whole system. Don't you have an fbackup or something that lets you select the one file.
Also, before beginning, check space on the root filesystem.
bdf /
A full root fs is a common cause of passwd file corruption on HP-UX 11.00
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 08:46 AM
тАО07-15-2003 08:46 AM
Re: currupt passwd file
In addition to the useful advice above I'd suggest initially that you have a look at the /etc/passwd file and see just how much of it does exist. It does sound as if it may be caused by the filesystem filling up, in which case you'll want to get to the bottom of that fairly quickly in case it occurs again after fixing the passwd file.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 09:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 11:08 AM
тАО07-15-2003 11:08 AM
Re: currupt passwd file
Boot from recovery CD and copy standart
passwd file to /etc
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 11:14 AM
тАО07-15-2003 11:14 AM
Re: currupt passwd file
Check for a full file system before doing anything. A full "/" file system can definately cause problems, but I've also seen problems when "/var" fills up.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 04:19 AM
тАО07-16-2003 04:19 AM
Re: currupt passwd file
Hi,
I finally managed to get access to the server with only /sbin commands.
As an info:
- single user mode
- play back an old passwd with tar
(one of few working commands, no vi or ed)
As Steven mentioned the / was 99% full and most probably caused this.
Thanks for your help