[Bug 11951] New: Comply with change date when updating password
bugzilla at busybox.net
bugzilla at busybox.net
Thu Jun 6 16:30:47 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=11951
Bug ID: 11951
Summary: Comply with change date when updating password
Product: Busybox
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Standard Compliance
Assignee: unassigned at busybox.net
Reporter: adam.wujek at cern.ch
CC: busybox-cvs at busybox.net
Target Milestone: ---
Created attachment 8086
--> https://bugs.busybox.net/attachment.cgi?id=8086&action=edit
patch to fix this bug
When the function update_passwd is called on a system with a date set to 1st
Jan
1970 (like some embedded devices), the change date is set to 0, which has a
special meaning:
"The value 0 has a special meaning, which is that the user should change her
password the next time she will log in the system."
The attached patch fixes, this behaviour by setting the change date to -1 if
called on 1st Jan 1970.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list