Public bug reported:
If the system date is set to jan 1st 1970 (as it happens on many ARM
devices that are freshly installed and not attached to a network) the
third field in /etc/shadow (* days since Jan 1, 1970 that password was
last changed) is set up zero.
This breaks autologin on the live images in a way that all ttys die on
bootup and the system becomes unusable on the console (under X you get a
message that your password is expired and you need to update
immediately)
The useradd tool should special case this specific date to set a bigger
value for the second field in shadow or the special casing for a value
of 0 in the above mentioned field should be removed. Accordingly the
manpage of shadow should mention that a value of zero actually enforces
a password update (it only talks about "last changed since 1970"
currently but gives no indication that this breaks autologin through the
above behavior)
** Affects: shadow (Ubuntu)
Importance: High
Status: New
** Changed in: shadow (Ubuntu)
Importance: Undecided => High
** Changed in: shadow (Ubuntu)
Milestone: None => ubuntu-9.04
--
if system date is set to 01-01-1970 users are enforced to update their password
https://bugs.launchpad.net/bugs/349504
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs