vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Hi, Is the system Trusted? BB <jason@cyberpine.com> wrote in message news:ef0a04d7.0409291313.54fe450e@posting.google.c om... > Is there a way to check the last time a unix users password was > changed? Pressuming I'm logged in as that user, but don't have root to > the server? > > Thanks. |
| |||
| Hi, There is no way to check last modification time of the specific user under not trusted system. Actually, it is not accurate thing under the trusted system but we can just guess the time. Because the /etc/passwd file is modified when there is something changed such as home directory, shell, and also including password. So, it's impossible to check accurate time. <jason@cyberpine.com> wrote in message news:ef0a04d7.0409291313.54fe450e@posting.google.c om... > Is there a way to check the last time a unix users password was > changed? Pressuming I'm logged in as that user, but don't have root to > the server? > > Thanks. |
| ||||
| jason@cyberpine.com wrote: > Is there a way to check the last time a unix users password was > changed? Pressuming I'm logged in as that user, but don't have root to > the server? > > Thanks. Jason, Try using: # passwd -s <username> If Password Aging is enabled for "username", then it will display information about when the password was last changed. If the system isn't configured to use Password Aging, then there isn't a way to tell when the password was last changed (nor a need to know, for that matter)... Hope that helps... -- Steve Hamilton Beechglen Development |