- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable aks for old root password when root...
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
05-02-2005 07:47 AM
05-02-2005 07:47 AM
Someone knows how to disable that the command passwd asks for the old root password when the root wants change it in a HP-UX 11.0 Server ?
Also, sometimes the account is disable, do you know how to disable this poscies?
Thanks and Regards!!!
Omar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 08:04 AM
05-02-2005 08:04 AM
Re: How to disable aks for old root password when root wants to chage it.?
tsconvert -r will make your server untrusted.(Take backup of current /etc/passwd and /tcb directory)
once your server is untrusted then use "passwd root" command to change password
You can login to server from webconsole or normal console even if the accoutn is disabled.
Other option is to boot the server in single user mode and change the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 08:12 AM
05-02-2005 08:12 AM
Re: How to disable aks for old root password when root wants to chage it.?
To disable, go back to untrusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 08:23 AM
05-02-2005 08:23 AM
Re: How to disable aks for old root password when root wants to chage it.?
I do not have the commnad tsconvert on my system.
If it is necessary to have any patch or software installed for this commnand ?
Thanks in advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 08:27 AM
05-02-2005 08:27 AM
Re: How to disable aks for old root password when root wants to chage it.?
If you are root then try
/sbin/passwd root
The /usr/bin/passwd command will always ask for the old. The /sbin/passwd binary won't.
If that doesn't work then edit
/tcb/files/auth/r/root entry & remove the value. BE SURE to only remove what's between
:u_pwd= AND :\
If any of that is removed the entry will become invalid.
Then when you run passwd you will not be prompted. ALSO NEVER leave it w/o a value in there as anyone could login as root without a PW.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 10:33 AM
05-02-2005 10:33 AM
Solution#tsconvert -r
then your system will not ask you password anymore.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 10:59 AM
05-02-2005 10:59 AM
Re: How to disable aks for old root password when root wants to chage it.?
------
# /etc/tsconvert -r
Restoring /etc/passwd...
/etc/passwd restored.
Deleting at and crontab audit ID files...
At and crontab audit ID files deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 01:24 PM
05-02-2005 01:24 PM
Re: How to disable aks for old root password when root wants to chage it.?
Converting back to un-trusted removes a lot of security features. You should also look at adding sudo to your system to prevent root lockouts. With sudo, no one needs to know the root password in order to get sysadmin work done.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 12:52 PM
05-03-2005 12:52 PM
Re: How to disable aks for old root password when root wants to chage it.?
thank