- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root password ( TCB)
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
10-26-2005 09:07 PM
10-26-2005 09:07 PM
We are using HP-UX with TCB & facing a problem for changing root user password as old password is expired & also old password is not accepting while changing the password. We are accessing the server through other root equivalent user. But through SAM & modprpw command it is not allowing to change the root user password.
Also we tried by booting system in single user mode & tried to change the password. There also it is asking for old password.
Pl do guide me,
Pushkar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:11 PM
10-26-2005 09:11 PM
Re: root password ( TCB)
/usr/sam/lbin/usermod.sam -p "" root
This will null out root users password and after that you should eb able to chnage it.
Also things to check
1 Do you have special chars in the password??
2 Is it more than 8 chars, if yes enter just first 8 chars only
You can also just modify passwd file. (after backing it up)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:29 PM
10-26-2005 09:29 PM
Re: root password ( TCB)
1) To change machine in non-trusted then change passwd. (If your machine is not in production environment)
May be you can try RAC's solution better this.? Try that else .. use the above.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:29 PM
10-26-2005 09:29 PM
Re: root password ( TCB)
check ur /etc/passwd file, if any * char in passwd file then remove it and try to login.
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 12:39 AM
10-27-2005 12:39 AM
Re: root password ( TCB)
My server is in production (24*7 online)& still TCB is working on it. if i will remove tcb again password of all users will be change.
pushkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 12:52 AM
10-27-2005 12:52 AM
SolutionThis is how I reset the password
go to /tcb/files/auth/r
vi the root file
there is a line :u_pwd=xxxxxxxxxxxxxx:\
remove everything in the xxxx and try to reset the passwd,it will not ask for the old password
you can unlock it with
/usr/lbin/modprpw -k root
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 01:08 AM
10-27-2005 01:08 AM
Re: root password ( TCB)
Otherwise, edit root's TCB entry as mentioned. The file in /tcb/files/auth/r/root has all the password information with the password itself on the line starting with ":u_pwd=". Just remove all the password characters up to the : so that the line now reads:
:u_pwd=" \
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 01:23 PM
10-27-2005 01:23 PM
Re: root password ( TCB)
thanks for solution
pushkar