![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Expired password doesn't prompt for change | mark24p | SUN Solaris | 2 | 04-28-2008 05:15 PM |
| Password Expired - cfmupdatenode issue | philib | UNIX for Dummies Questions & Answers | 0 | 12-13-2007 11:30 AM |
| password expired | ammu | UNIX for Advanced & Expert Users | 2 | 06-02-2007 10:15 AM |
| expired root password | csaunders | SUN Solaris | 1 | 10-18-2005 07:48 PM |
| AIX Non Expired Password | siddhhuu | AIX | 0 | 03-19-2005 11:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
issue the command "pwdadm -q <username>" as root to get an output similar to the following:
Code:
# pwdadm -q nobody
nobody:
lastupdate = 1192452222
either set the value there directly (add 86400 every day or something such); change the maxage attribute of the user account to "-1" to never let the password expire; Both these methods are only available if you have root access to the system. If you only have user rights you have no possibility to find out how old your password already is. Do the following: create an alias for the "passwd" command (put that into your ~/.kshrc) , which does the following: first call a script and have it write a date information to a file, then call the normal /usr/bin/passwd. This way you can maintain your own age information about the last password change. The information could be used to issue a mail (via a cron job) whenever the expiration date is near. I hope this helps. bakunin |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|