- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root password on the 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
тАО04-13-2005 07:01 PM
тАО04-13-2005 07:01 PM
root password on the trusted system
I have a development server and its running HP_UX B11.11 on it and it's running as a trusted system. The problem that i'm experiencing is that whenever the root's password expires i have to take down the server to single user mode, untrust the system, delete the password entry in the /tcb/files/auth/r/root and reset the root's password. I read on ITRC that i have to install sudo and give a normal user access as root so that i can change the root's password without having to take down the server. I installed sudo and tested it but now the problem is that:
- i log in as a normal user
- sudo vi /etc/tcb/files/auth/r/root
- sudo /usr/lbin/tsconvert -r
- sudo root passwd
- then, i can log in as root with the new password
- and when i convert back the system to a trusted system
i cant log in as root, it asks for the old password.
What i would like to know is that, is there a way to have a trusted system and the root password doesn't expire ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 08:28 PM
тАО04-13-2005 08:28 PM
Re: root password on the trusted system
Try,
# /usr/lbin/modprdef -m mintm=0,lftm=0,exptm=0,expwarn=0 root
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 09:27 PM
тАО04-13-2005 09:27 PM
Re: root password on the trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 09:39 PM
тАО04-13-2005 09:39 PM
Re: root password on the trusted system
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 09:48 PM
тАО04-13-2005 09:48 PM
Re: root password on the trusted system
I cant understand one thing, you are running a trusted system and if the root password expires why do you have to reboot the system into single user to reset the password?
If the password gets disabled/expired console login as root is still allowed and then you can change the password.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 03:16 AM
тАО04-15-2005 03:16 AM
Re: root password on the trusted system
console
This way only the console port has initial root login rights. With this set-up you should be able to login as root on the console regardless of wither the password has expired or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 05:39 AM
тАО04-15-2005 05:39 AM
Re: root password on the trusted system
# sudo /usr/lbin/modprpw -k root
Then you can login as root again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 07:47 AM
тАО04-15-2005 07:47 AM
Re: root password on the trusted system
Perhaps you mean that the root account is locked. That's different and can easily happen if someone tries to login too many times. You want this account locked because it may be a hacker trying to get in. In that case, you cal *ALWAYS* login through the console (not telnet) with the root account locked.
There is never a reason to use tsconvert -r
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 07:52 AM
тАО04-15-2005 07:52 AM
Re: root password on the trusted system
/etc/tsconvert;/usr/lbin/modprpw -V
man modprpw for details.
But, you convert system to trusted mode with SAM, you do not need to do all this.
Now, why root password is expiring??
/usr/lbin/getprpw -m root
Check for exptm, lftm, expwarn and mintm. All should be set to 0, if not set it to zero
/usr/lbin/modprpw -m mintm=0 root and so on for all baove settings. OR you can do all this through SAM.
Anil