- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root Password expired
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
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
тАО06-03-2008 03:20 AM
тАО06-03-2008 03:20 AM
Root Password expired
$ su - root
Password:
Last successful login for root: Tue Jun 3 11:29:54 PWT0PST 2008
Last unsuccessful login for root: Tue Jun 3 11:00:08 PWT0PST 2008
Your password has expired.
su: Password for root has expired. Choose new password and try again
su: Sorry
$
An empty securetty file is set restricting the root access.
$ ls -l /etc/sec*
-r--r--r-- 1 root sys 0 Feb 14 17:46 /etc/securetty
From the other forums, it seems the only solution is to reset the system, enter in single user mode and then change the root password. Do you know a simpler way to change the root password?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 03:52 AM
тАО06-03-2008 03:52 AM
Re: Root Password expired
Yes there is no other way, you can reset the root password only bringing down the system in to single user mode.
Regards
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 03:56 AM
тАО06-03-2008 03:56 AM
Re: Root Password expired
If all fails, you have to crash your server and do as you are thinking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:36 AM
тАО06-03-2008 05:36 AM
Re: Root Password expired
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:45 AM
тАО06-03-2008 05:45 AM
Re: Root Password expired
Pls check man page for #modprpw command
Regards
Atulkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:45 AM
тАО06-03-2008 05:45 AM
Re: Root Password expired
if you have a user which can access root commands via sudo you can sudo sam an change policy of the root account to no password aging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 07:12 AM
тАО06-03-2008 07:12 AM
Re: Root Password expired
I'm not allowed to telnet as root I supposed because of the securetty file. In all the methods to access I got the "Login incorrect" msg.
About the sudo command is not available in my system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 07:26 AM
тАО06-03-2008 07:26 AM
Re: Root Password expired
If you know the "old" password then you can then change the password. ( try using ssh instead of telnet or su )
If you do not know the "old" password then you MUST crash the system and boot to single user mode.
Depending on your OS version the system will still ask you for the "old" password. If you are running trusted mode, then edit the /tcb/files/auth/r/root password field ( set to null ).
The /etc/securetty file restricts telnet access for root to the console. It does NOT restrict root access for ssh, rexec, remsh.
(a pretty whimpy way to enforce security)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 02:02 PM
тАО06-03-2008 02:02 PM
Re: Root Password expired
I thought you don't need to do that as root using /sbin/passwd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 01:55 AM
тАО06-04-2008 01:55 AM
Re: Root Password expired
Thank you for your answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 06:21 AM
тАО06-04-2008 06:21 AM
Re: Root Password expired
Thank you for your answers.