HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Access to locked machine
Operating System - HP-UX
1837936
Members
2285
Online
110124
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
04-11-2000 07:20 AM
04-11-2000 07:20 AM
Access to locked machine
We changed a root password on one of our development HP-UX boxes (10.20), and
now it will not accept the password. I know on my Sun boxes, I can reboot off
the CD, mount the drive, and manually edit the password file.
Can I do this with my HP? And can anyone provide me with some basic steps
here?
Thanks!
now it will not accept the password. I know on my Sun boxes, I can reboot off
the CD, mount the drive, and manually edit the password file.
Can I do this with my HP? And can anyone provide me with some basic steps
here?
Thanks!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2000 09:48 AM
04-11-2000 09:48 AM
Re: Access to locked machine
Hi Jason,
Assuming you are not running a Trusted system and you have no other access to
root on the server (like a .rhosts file that won't prompt root for a password
when logging on from another server)
1. You can access /etc/passwd by booting your machine into Single User mode.
Ex. Interrupt the boot process and Interact with ISL.
bo
Do you want to interact with ISL (Y/N) Y
ISL> hpux -is boot
Once you get the command prompt, you will have to
mount your vg00 filesystems.
Ex. vgchange -a y /dev/vg00
mount -a
Then cd into /etc and cp the passwd file to passwd.old.
Edit the passwd file and take out the encrypted passwd
between the first and second colons.
Before Ex. root:passwdwashere:0:3::/:/sbin/sh
After Ex. root::0:3::/:/sbin/sh
Then reboot the server. You should be able to log on
as root without any password.
If you have a trusted system, you will follow the Single User mode
instructions,mount your file systems and run /usr/lbin/tsconvert -r to
unconvert your system.
Then edit the /etc/passwd file to remove encrypted password.Then reconvert your
system /usr/lbin/tsconvert.
Assuming you are not running a Trusted system and you have no other access to
root on the server (like a .rhosts file that won't prompt root for a password
when logging on from another server)
1. You can access /etc/passwd by booting your machine into Single User mode.
Ex. Interrupt the boot process and Interact with ISL.
bo
Do you want to interact with ISL (Y/N) Y
ISL> hpux -is boot
Once you get the command prompt, you will have to
mount your vg00 filesystems.
Ex. vgchange -a y /dev/vg00
mount -a
Then cd into /etc and cp the passwd file to passwd.old.
Edit the passwd file and take out the encrypted passwd
between the first and second colons.
Before Ex. root:passwdwashere:0:3::/:/sbin/sh
After Ex. root::0:3::/:/sbin/sh
Then reboot the server. You should be able to log on
as root without any password.
If you have a trusted system, you will follow the Single User mode
instructions,mount your file systems and run /usr/lbin/tsconvert -r to
unconvert your system.
Then edit the /etc/passwd file to remove encrypted password.Then reconvert your
system /usr/lbin/tsconvert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2000 03:44 AM
04-12-2000 03:44 AM
Re: Access to locked machine
I've not done this for a while, but, I believe another
method is to boot to single user as in the previous
post. Then mount all the file systems - mountall
Run sam and go into users and change roots' password
there. This way you do not have to manually modify
/etc/passwd or unconvert from a trusted host.
method is to boot to single user as in the previous
post. Then mount all the file systems - mountall
Run sam and go into users and change roots' password
there. This way you do not have to manually modify
/etc/passwd or unconvert from a trusted host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2000 07:11 AM
04-12-2000 07:11 AM
Re: Access to locked machine
Jason,
Never mind. Must have been a brain cramp. I was
pretty sure I had done that before. I just tried it
and it wants root's old password. Looks like you
should try the other approach.
Never mind. Must have been a brain cramp. I was
pretty sure I had done that before. I just tried it
and it wants root's old password. Looks like you
should try the other approach.
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