[CentOS] /usr/sbin/usermod -p doesn't update MAX_DAYS - workaround?
Mogens Kjaer
mk at crc.dk
Thu Jan 28 13:43:01 UTC 2010
On 01/28/2010 02:20 PM, Sean Carolan wrote:
...
> In the long run we're going to try and get some kind of centralized
> authentication, but in the meantime does anyone have an idea for a
> workaround?
If your script change passwords via ssh and usermod, why not at
the same time do a chage -d number username?
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk
More information about the CentOS
mailing list