×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

root passwd expired

root passwd expired

root passwd expired

(OP)
how can i find out if the root account is set the expired if the /etc/shadow had been updated so root no longer expires.

are there logs I can check?

------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.

RE: root passwd expired

Sadly there are 'typos' or words missing from your post that would so change the meaning of your enquiry that it is almost impossible to give you a precise answer to what you are asking.

To find out if an account is expired, check the file /etc/shadow and use the command man shadow.
Also see the logins command (and man logins).

Unless some auditing packages are running it is unlikely you can find out who, how and when the /etc/shadow file was changed.  But if there have been regular backups of the system over time, then restores may give you a clue and also provide an earlier version of the file (prior to any changes ocurring).

I hope that helps.

Mike

RE: root passwd expired

(OP)
opps! the hand is slow than the brain.

ok. what happens was that the root password expired. someone reset the password and disable the expiration option.

Since the /etc/shadow file had been updated, how can I find out what was the original expiration option set to? As far as I know we never reset the password before.

------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.

RE: root passwd expired

Do you have a backup of /etc/shadow? (or are there copies in /etc/shadow*?)  Without these, I don't think the expiration setting is recorded any where else.

RE: root passwd expired

(OP)
yes, I'm requesting a restore from backup now. I was hoping I do not have to use that option. Thanks!

------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close