]> pere.pagekite.me Git - homepage.git/blobdiff - blog/data/2010-05-02-expired-passwords.txt
Generated.
[homepage.git] / blog / data / 2010-05-02-expired-passwords.txt
index 30759406b96f404e6b4e850361bc42a03eb5378d..35d54c511b3276a569e4e23dbaa89d91888dc972 100644 (file)
@@ -1,6 +1,6 @@
 Title: Forcing new users to change their password on first login
-Tags: english, nuug, debian edu
-Date: 2010-05-02 13:40
+Tags: english, nuug, debian edu, sikkerhet
+Date: 2010-05-02 13:47
 
 <p>One interesting feature in Active Directory, is the ability to
 create a new user with an expired password, and thus force the user to
@@ -59,3 +59,16 @@ sure only the user itself have the account password?</p>
 
 <p>If you want to comment on or help out with implementing this for
 Debian Edu, please contact us on debian-edu@lists.debian.org.</p>
+
+<p>Update 2010-05-02 17:20: Paul Tötterman tells me on IRC that the
+shadow(8) page in Debian/testing now state that setting the date of
+last password change to zero (0) will force the password to be changed
+on the first login.  This was not mentioned in the manual in Lenny, so
+I did not notice this in my initial testing.  I have tested it on
+Squeeze, and '<tt>chage -d 0 username</tt>' do work there.  I have not
+tested it on Lenny yet.</p>
+
+<p>Update 2010-05-02-19:05: Jim Paris tells me via email that an
+equivalent command to expire a password is '<tt>passwd -e
+username</tt>', which insert zero into the date of the last password
+change.</p>