Re: alerting users of expiring passwords

2003-10-14 Thread martin f krafft
also sprach Haim Ashkenazi <[EMAIL PROTECTED]> [2003.10.15.0005 +0200]: > I guess you can get it with 'cut' command. something like: > TIME=`grep /etc/shadow | cut -d":" -f 5` > echo "your password will expire in $TIME days" i'd have to delete (numDays(now() - 1970.01.01)) from it. while this is

Re: alerting users of expiring passwords

2003-10-14 Thread Haim Ashkenazi
martin f krafft wrote: > when a user's shadow password is about to expire, PAM prints > a message about the expiration e.g. at login via SSH. However, if > there is also a /etc/motd, the fact that it follows the warning > obscures the warning and nobody sees it. > > What I would like to do is pro