search for: passwdexp

Displaying 2 results from an estimated 2 matches for "passwdexp".

2017 Feb 01
1
How to get password expiration?
...he user's password expires. Ex: In the bashrc or tcshrc (the global ones) add a line like so touch /tmp/requestpwexpupdate/${USER} and have a cronjob the searches for password expire times in ldap and removes the request file placing a timestamped file with the users expiration in ~${USER}/.passwdexp but I don't know how to write the ldapsearch to do this. On Wed, Feb 1, 2017 at 12:12 PM, Jeff Sadowski <jeff.sadowski at gmail.com> wrote: > Or maybe better like so on login > > Last login: Wed Feb 1 10:47:53 > Password Expires in 28 days > [myaduser at machine ~]$ &g...
2017 Feb 01
3
How to get password expiration?
I want something like so on login Last login: Wed Feb 1 10:47:53 Password Expires: Wed March 1 00:00:00 [myaduser at machine ~]$ I just want them to know when their password expires. On Wed, Feb 1, 2017 at 9:39 AM, mathias dufresne <infractory at gmail.com> wrote: > Plop, > > You'd like to modify .bashrc to auto-disconnect user with expired > password? I thought modern