- 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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 11:44 PM
07-15-2003 11:44 PM
Re: root passwd on trusted system
other "root" user than you need to boot from CD before you can edit the
/tcb/files/auth/r/root file.
just removing the encripted passwd and use the passwd comand and than you wil not be asked for a old passwd.
ofcause if you are only a normal user the rootpasswd can't be changed by the normal user... whitout hacking you own system....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 12:39 AM
07-16-2003 12:39 AM
Re: root passwd on trusted system
1. Edit the /tcb/files/auth/r/root file and null the password field and then change the password, it wont ask for old password.
2. use /sbin/passwd root to change the password dont use /usr/bin/passwd
this wont ask for old password.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 12:44 AM
07-16-2003 12:44 AM
Re: root passwd on trusted system
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 01:30 AM
07-16-2003 01:30 AM
Re: root passwd on trusted system
/usr/sam/lbin/usermod.sam -F -p "" root
solution as a bog standard user on our test box.
It just said
Permission Denied
Which I'm kinda glad about, have I missed something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 01:43 AM
07-16-2003 01:43 AM
Re: root passwd on trusted system
jayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:13 AM
07-16-2003 10:13 AM
Re: root passwd on trusted system
You really should copy the /tcb directory and run /usr/lbin/tsconvert -r
You can the issue a "passwd" as root and you wont need to supply a password.
Convert back. I have done this before and haven't had problems with user password expiring or anything funky like that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 01:02 PM
07-16-2003 01:02 PM
Re: root passwd on trusted system
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 06:30 PM
07-16-2003 06:30 PM
Re: root passwd on trusted system
It's pretty simple. I have edit many times on a production box.
Just got to /tcb/files/auth/r/root
Edit the line below
:u_pwd=:\ It should like something like this.
I am sure it won't prompt for OLD password
Good luck,
Uttam