- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restart root password
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
тАО11-16-2009 10:11 PM
тАО11-16-2009 10:11 PM
I forget the root password, how to reset the root passowrd in hp-ux
I pls any one help me very urgent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 10:27 PM
тАО11-16-2009 10:27 PM
Solution#passwd root
but you doing this you need to have root privilege.
a)do you have any current active root session open ?
b)do you have any remote login configured ?
If there is no other choice ,the way is to reboot the server in single user mode and change the root password using #passwd command.
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 10:28 PM
тАО11-16-2009 10:28 PM
Re: restart root password
you have to edit tcb/files/auth/r
vi root
:u_pwd=:\ ## make this line lke this.
If you are not logged in as root from anywhere , then you have to boot to single user mode , mount usr , var , tmp and edit the tcb/files/auth/r file in single user mode.
Regards ,
FrogIsDeaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 10:33 PM
тАО11-16-2009 10:33 PM
Re: restart root password
If any one have sudo or sroot access to root,that will also help you to reset the root password.
If everything fails you need to bring the server to single user mode to reset root password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 10:36 PM
тАО11-16-2009 10:36 PM
Re: restart root password
I have assumed that you are running Integrity
and server is trusted.
Regards ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 09:35 PM
тАО11-17-2009 09:35 PM
Re: restart root password
sorry for the delay reply
my server is trusted only, I am trying to mount /usr in singal mode it saying
vxfs mount: /dev/vg00/lvol7 is corrupted. needs checking
rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 09:39 PM
тАО11-17-2009 09:39 PM
Re: restart root password
#fsck -F vxfs /dev/vg00/rlvol7
and change the password as mentioned above by Dearfrog .
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 09:40 PM
тАО11-17-2009 09:40 PM
Re: restart root password
It will not ask your old password while reseting... :)
Hope it will solve your problem...
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 10:28 PM
тАО11-17-2009 10:28 PM
Re: restart root password
I cannot change passwd in singal mode. as per Mr.FrogIsDeaf instruction i remove the /tcb/files/auth/r/root removed the lines after that i changed the passwd
but my system is trusted mode so when i login try to root it saying account is disbled. i dont have a super user anything in the server only one account is normal account how can i enable to root account
regda
rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 10:56 PM
тАО11-17-2009 10:56 PM
Re: restart root password
Hi,
To unlock or enable a user account in TS system
to unlock root account
#/usr/lbin/modprpw -k root
Aneesh