- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/passwd corrupted
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
Discussions
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
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
04-23-2002 09:46 AM
04-23-2002 09:46 AM
/etc/passwd corrupted
I use a HP-UX B.10.20 A 9000/810.
My /etc/passwd file is corrupt and I am not abble to log on my system. I have a shell problem cause by the passwd file.
Is there a way to log on the system.
Thakns,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 09:48 AM
04-23-2002 09:48 AM
Re: /etc/passwd corrupted
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 09:49 AM
04-23-2002 09:49 AM
Re: /etc/passwd corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 10:03 AM
04-23-2002 10:03 AM
Re: /etc/passwd corrupted
Access the GSP and and reset your box.
when you see the system coming up again you can interrupt the system boot sequence (it will ask you to press any key in 10 sec to stop booting), and then after pressing the key at that stage type
hpux -is
this will take you to single user mode
vgchange -a y /dev/vg00
mount -a
then edit your password file or recover it from an ignite tape.
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m /etc/passwd
Peace.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 10:10 AM
04-23-2002 10:10 AM
Re: /etc/passwd corrupted
We had one security admin that sorted the password file, guess where root ended up!! Not at the top.
You will probably have to TOC the box to get it to boot, interupt the boot at the ISL prompt, then enter bo -is
This will boot the machine in single user mode, get onto a terminal attached to the serial port, and change that root password.
After you have a good root password, you can reboot the box into multi user and then get a good password file from somewhere else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 10:21 AM
04-23-2002 10:21 AM
Re: /etc/passwd corrupted
Is there a way you can ftp in to the system using another 10.2 system , if yes then ftp inot /etc and copy the paswd file from the other system or you can put a file which atleast has root into that machine . if you cant do that then you will have to boot in single user miode and edit the file manually.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 11:51 AM
04-23-2002 11:51 AM
Re: /etc/passwd corrupted
I think single user mode will be the only option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 12:18 PM
04-23-2002 12:18 PM
Re: /etc/passwd corrupted
Boot the system in to single user mode Tou have to press any key at 10 sec notification. You will get BOOT ADMIN rompt.
Then boot the system using bo command. and interect with ISL.
At ISL prompt give
ISL> hpux -is
this will boot the system in to single user mode.
Then issue mountall command. and use vi to edit the password file or restore it from backup.
thanks,
-pap