- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- 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
тАО11-13-2005 11:16 PM
тАО11-13-2005 11:16 PM
root password expired
I am aware when one logs into root account the system warns you that the root password will expire on such a date and time. But if I have not changed the root password before it expires then as stated I am unable to su to root from a non privileged account. My question is there another way to notify the administatrator that the root password is about to expire without logging into root all the time to find out when the root password is expiring. I have been lookingin the man pages on passwd but no joy.
If anyone has any ideas or suggestions or has come across a similar scenario and got round the problem of root expiring I would really appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2005 11:23 PM
тАО11-13-2005 11:23 PM
Re: root password expired
With edauth -g root you get the information of the last change (u_succhg). You can then calculate when the next change should be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2005 11:55 PM
тАО11-13-2005 11:55 PM
Re: root password expired
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 01:02 AM
тАО11-14-2005 01:02 AM
Re: root password expired
Here's a script I wrote in Korn shell that may help you. It works with Enhanced Security enabled, I never tried it with Base. It has to run as root so proceed at your own risk.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 02:02 AM
тАО11-14-2005 02:02 AM
Re: root password expired
Firstly, thank you for your example script which I have been looking at.
Secondly,I am using ENHANCED security but when I issue the following command for any particular username there is no parameter u_exp nor u_life.
e.g.
/usr/tcb/bin/edauth -g
No information is returned with the above command.
However I do get information back with
/usr/tcb/bin/edauth -g
Can you help me.
Thanks.
Dan..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 03:14 AM
тАО11-14-2005 03:14 AM
Re: root password expired
It has been awhile since I've work on this so I may get some of this wrong.
There is a 'default' record that contains default values for accounts. If you don't change any of those values in an account you won't see them when you 'edauth -g
To see the default values do this:
edauth -g -dd default
So, the logic is a little more complicated. If you can't find a field in a user's account, then you have to go to the default record.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 04:57 AM
тАО11-14-2005 04:57 AM
Re: root password expired
/usr/tcb/bin/edauth -g
This command is right:
/usr/tcb/bin/edauth -g
You must use a pipe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2005 01:52 PM
тАО11-14-2005 01:52 PM
Re: root password expired
There is an other recent topic that sounds vaguely similar:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=974620
In there Ivan suggest: usermod -x passwd_lifetime=0 root
Is that of use here?
Just guessing...
Hein.