HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX OS HELP NEEDED
Operating System - HP-UX
1834935
Members
2409
Online
110071
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
Forums
Discussions
Discussions
Discussions
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
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
03-02-2000 04:36 AM
03-02-2000 04:36 AM
HP-UX OS HELP NEEDED
I have corrupted my /etc/passwd file on a server, specifically I have specified
a shell that does not exist for root. I cannot su to root from another user
since there are no other user accounts on the system. I cannot log in as root
on the console since it states that the shell does not exist and logs me out.
On Sun and SGI machines, I would boot the CDROM and copy a new /etc/passwd file
into place on the real root drive and then boot the system normally.
I assume the same will work for HP but I am unfamilar with the steps/commands
to perform this action. Can anyone provide me with this information.
Thanks,
helen.c.lawrence@bellatlanic.com
a shell that does not exist for root. I cannot su to root from another user
since there are no other user accounts on the system. I cannot log in as root
on the console since it states that the shell does not exist and logs me out.
On Sun and SGI machines, I would boot the CDROM and copy a new /etc/passwd file
into place on the real root drive and then boot the system normally.
I assume the same will work for HP but I am unfamilar with the steps/commands
to perform this action. Can anyone provide me with this information.
Thanks,
helen.c.lawrence@bellatlanic.com
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2000 04:51 AM
03-02-2000 04:51 AM
Re: HP-UX OS HELP NEEDED
boot the system into single user mode
enter the when the boot up prompts to discontinue the boot process.
IPL>bo
interact with ISL ? YES
at the prompt type >> hpux -is
enter the
IPL>bo
interact with ISL ? YES
at the prompt type >> hpux -is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2000 06:42 PM
03-02-2000 06:42 PM
Re: HP-UX OS HELP NEEDED
Hi!
Oops! You have corrupted one of the most important files in the system. O.K,
Anyway, you don't need to boot through CDROM. You have to just boot the system
in SINGLE USER MODE and repair the /etc/passwd file.
1. Power up your system.
2. Interrupt the boot process when prompted (This is
boot prom dependent. You may either be asked to "press any key" or
"press and hold the ESCAPE key".)
3. In the Mainmenu type "bo"
i.e. Main menu>bo
4. Interact with IPL. When prompted for this type "y"
5. In ISL prompt type "hpux -is"
i.e. ISL>hpux -is
6. This will lead you to single user mode without asking passwd.
7. Don't do the mistake of editing the /etc/passwd file
Instead use SAM to modify the user properties.
i.e #/usr/sbin/sam
Note: if /usr is a seperate filesystem, you need to mount it using the
command "/etc/mount /usr"
8. To be on the safer side - once, change the passwd of root.
9. Reboot your system
i.e. #cd /
#/etc/reboot
Regards,
S. Karunanidhi,
Customer Services Engineer, Wipro Ltd.
Oops! You have corrupted one of the most important files in the system. O.K,
Anyway, you don't need to boot through CDROM. You have to just boot the system
in SINGLE USER MODE and repair the /etc/passwd file.
1. Power up your system.
2. Interrupt the boot process when prompted (This is
boot prom dependent. You may either be asked to "press any key" or
"press and hold the ESCAPE key".)
3. In the Mainmenu type "bo"
i.e. Main menu>bo
4. Interact with IPL. When prompted for this type "y"
5. In ISL prompt type "hpux -is"
i.e. ISL>hpux -is
6. This will lead you to single user mode without asking passwd.
7. Don't do the mistake of editing the /etc/passwd file
Instead use SAM to modify the user properties.
i.e #/usr/sbin/sam
Note: if /usr is a seperate filesystem, you need to mount it using the
command "/etc/mount /usr"
8. To be on the safer side - once, change the passwd of root.
9. Reboot your system
i.e. #cd /
#/etc/reboot
Regards,
S. Karunanidhi,
Customer Services Engineer, Wipro Ltd.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP