- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root passwd on trusted system
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
тАО07-15-2003 05:08 AM
тАО07-15-2003 05:08 AM
root passwd on trusted system
i have a problem in that the root passwd was changed last week while i was at home enjoying the weather and know i cant access it as the person who changed it must be dislexic as the spelling he used obviosly isn't in any dictionary.
my question is, i can't change the root passwd without knowing the old one and it is a production server so shutdown not possible.
if i delete the entry below in /tcb/files/auth/r/root to make it look like this
:u_pwd=:will that remove passwd on root and thus allow me to reset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 05:30 AM
тАО07-15-2003 05:30 AM
Re: root passwd on trusted system
Your try changing root file should do the trick but be careful while modifying this file. make a copy of that file before editing
make :u_pwd=bNY5dfu7LKRDW:\ look like :u_pwd=:
Then change the root password.
Or you can try this
2. un-trust the system.
# /usr/lbin/tsconvert -r
Change the passwd and re-trust the system
# passwd root
# /usr/lbin/tsconvert
Take backup of password file and tcb dirctory before doing this.
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 05:36 AM
тАО07-15-2003 05:36 AM
Re: root passwd on trusted system
/usr/sam/lbin/usermod.sam -F -p "" root
-to unconvert-
/usr/lbin/tsconvert -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 05:38 AM
тАО07-15-2003 05:38 AM
Re: root passwd on trusted system
Safest bet is if you need to reset a root password, you need to boot to single user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 05:41 AM
тАО07-15-2003 05:41 AM
Re: root passwd on trusted system
Firstly choosing a password that doesn't exist in a dictionary is a good idea for a trusted system :-)) Maybe your colleague was being extra secure?
If you've still got a terminal logged in as root then editing the root tcb file will work. Be careful - if you damage the file then you will be looking at a reboot into single user to replace the file.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 06:07 AM
тАО07-15-2003 06:07 AM
Re: root passwd on trusted system
This problem I have faced once.But after doing unconvert using tsconvert problem is that you may have to change the passwords for other users also.
so take care in issuing tsconvert command.
best is boot in sigle user mode.
baiju.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 06:40 AM
тАО07-15-2003 06:40 AM
Re: root passwd on trusted system
BTW, Since then, I have a pseudo root account (UID = 0) set up on my systems so I can just login and do "passwd root" to change the root passwd. It is easier and safer than editing files.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 06:43 AM
тАО07-15-2003 06:43 AM
Re: root passwd on trusted system
i thought the first thing it asked for when changing is the old password.
hence the file change.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 06:52 AM
тАО07-15-2003 06:52 AM
Re: root passwd on trusted system
/usr/sam/lbin/usermod.sam -F -p "" root
This command will reset your password to null.
Try this from run level 3 first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 12:16 PM
тАО07-15-2003 12:16 PM
Re: root passwd on trusted system
edit the /tcb/files/auth/r/root
so you could enter.
Caesar