How to force automatic change of password?

Kogler Johannes Johannes.Kogler at
Wed Apr 22 05:22:15 UTC 2009


the fifth column in /etc/shadow contains the days after which the
password must be changed. If you want that a user is forced to change
his password, just set this column and then set the third column (days
since Jan 1, 1970 that password was last changed) back.


-----Original Message-----
From: ubuntu-users-bounces at
[mailto:ubuntu-users-bounces at] On Behalf Of Jonathan D.
Sent: Wednesday, April 22, 2009 7:15 AM
To: Ubuntu
Subject: How to force automatic change of password?


I had a question that hopefully I'll be able to articulate successfully.

At work the policy is that automatically we have to change out 
login/network passwords every 60 days or so. Having poked around a bit 
here (9.04) I failed to see a way to set this up in such a manner on my 
box. I'm wondering if this is possible and if so, how? Any suggestions 
would certainly be helpful!

Kindest regards..

The individual has always had to struggle to keep from being overwhelmed

by the tribe. If you try it, you will be lonely often, and sometimes 
frightened. But no price is too high to pay for the privilege of owning 

      - Friedrich Nietzsche

ubuntu-users mailing list
ubuntu-users at
Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list