- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password recovery in single user mode
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
01-13-2010 02:26 AM
01-13-2010 02:26 AM
Password recovery in single user mode
I want to recover my root password on an hp2470. I follow documentation and i try this :
-Connect to serial port
-CTRL+B to going in GSP mode
-ENTER+ENTER for the login/password GSP
-in GSP, power off then power on
-return to console mode
-ESC to stop boot process
-'boot pri'
-Y to the interact question.
-'hpux -is'
-And i always need a login/password !
Is the only possibility to use Core OS cd[0] ? OR, i have any chance with the serial console ?
Thanks
0 : http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1038505
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 02:44 AM
01-13-2010 02:44 AM
Re: Password recovery in single user mode
You want to recover or reset you passwd ?
The way you said will only gives you to reset your passwd but not will give your passwd what it was..Anyway, lets wait for the Great guys comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 02:46 AM
01-13-2010 02:46 AM
Re: Password recovery in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 02:51 AM
01-13-2010 02:51 AM
Re: Password recovery in single user mode
If this is the case you missed the "null out the password" for root
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:01 AM
01-13-2010 03:01 AM
Re: Password recovery in single user mode
If you have booted the system into single user mode (hpux -is), then it should just be a case of running the following command from the command line :
passwd
or
passwd root
to reset the root password and then bring the system backup into multi user mode.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:12 AM
01-13-2010 03:12 AM
Re: Password recovery in single user mode
INIT : Overriding default level with 'S' -----
Please enter your login name :
Password :
Authentication incorrect
Please enter your login name :
etc...
I can't type passwd because i have not a prompt in single user mode !
System always asks me for a login/password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:18 AM
01-13-2010 03:18 AM
Re: Password recovery in single user mode
Has this system been into a trusted system ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:26 AM
01-13-2010 03:26 AM
Re: Password recovery in single user mode
Anyway, i cannot execute "/usr/lbin/tsconvert â r." because I have no access to prompt in Single User mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:36 AM
01-13-2010 03:36 AM
Re: Password recovery in single user mode
It is possible that you have authentication enabled when booting into single user mode ?
To verify, let the system boot into mullti-user mode and check /etc/default/security.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:36 AM
01-13-2010 03:36 AM
Re: Password recovery in single user mode
But how can i check this file if i can't log in ?!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 03:49 AM
01-13-2010 03:49 AM
Re: Password recovery in single user mode
Can you not log onto the system as a standard user as opposed to root ?
You do not have to be root to view the file.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 04:28 AM
01-13-2010 04:28 AM
Re: Password recovery in single user mode
If you have no way to get root privileges (like sudo already configured) when the system is running in normal multi-user mode and the root password is lost, you need to use the recovery shell on the Core OS CD.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 04:32 AM
01-13-2010 04:32 AM
Re: Password recovery in single user mode
Thanks for your help. I will use the OS core cd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 04:46 AM
01-13-2010 04:46 AM
Re: Password recovery in single user mode
Try booting your system in maintenance mode using
'hpux -lm'
if you got the prompt, you simply has to edit this file /tcb/files/auth/r/root by deleting the value in the field, u_pwd:\
your password will be null for root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 05:17 AM
01-13-2010 05:17 AM
Re: Password recovery in single user mode
I agree with Vishu incase you get a prompt there.
cd /tcb/auth/file/r <=== I believe this is the path.
vi root
u_pwd:\ <====make it as this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 01:40 AM
01-14-2010 01:40 AM
Re: Password recovery in single user mode
On the other hand, i finnaly find a login/password username. And when i boot with 'hpux -is', i get this message : "No authorization to boot the system". I think that i can login normally with this user but, if i can, i will not reset the password with a simple user !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 02:37 AM
01-14-2010 02:37 AM
Re: Password recovery in single user mode
Ya you are right,Single User mode,root can login...If that server is trusted one.then use OS recovery console and reset root password.
No other option.If you have normal user/password with sudo privilege then you can try...
Hope OS recovery cd will solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 02:46 AM
01-14-2010 02:46 AM
Re: Password recovery in single user mode
do you have any other server from which you can rlogin to this box. This way :-
1. you can change the root password.
OR
2. edit the root password file previous specified to make the root password null.
OR
3. you can provide sudo to some user and then change the root password.
This will work..try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 02:49 AM
01-14-2010 02:49 AM
Re: Password recovery in single user mode
No.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 05:42 AM
01-14-2010 05:42 AM
Re: Password recovery in single user mode
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BOOTAUTH11i
If you have sudo installed you could try to login with a normal user a test if sudo asks for the user password instead of the root password. This way you can elevate your privileges without knowing the root password - and hopefully can reset it.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 05:54 AM
01-14-2010 05:54 AM
Re: Password recovery in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 06:04 AM
01-14-2010 06:04 AM
Re: Password recovery in single user mode
No, I'm just waiting to see if other co-worker can found/remind the password in a DB.
Or, i will use cd OS core.
Thank for your time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 05:45 AM
01-19-2010 05:45 AM
Re: Password recovery in single user mode
The solution wat to use "hpux -iS" and NOT "hpyx -is"
Thanks for yours times