Bug 15883 - chage doesn't understand YYYY-MM-DD format - contrary to man page
Summary: chage doesn't understand YYYY-MM-DD format - contrary to man page
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-09 19:07 UTC by John Dalbec
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-09 19:07:12 UTC
Embargoed:


Attachments (Terms of Use)

Description John Dalbec 2000-08-09 19:07:10 UTC
According to the man page, chage should understand dates in the format YYYY-MM-DD.
This does not appear to work.  Instead, chage interprets YYYY-MM-DD to mean YYYY days since the epoch.
MM and DD are ignored.  However, YYYY/MM/DD works fine.  I have observed this only on the S/390 platform,
but the source only looks for a date if it has a "/" in it.
You could (a) fix chage to look for dates with hyphens
or (b) fix the man page to say YYYY/MM/DD.
Thanks,
John

Comment 1 Bernhard Rosenkraenzer 2000-08-30 13:33:10 UTC
Fixed in 20000826-2.


Note You need to log in before you can comment on or make changes to this bug.