Bug#621810: shadow: usermod and passwd man pages wrongly suggest `usermod -e 1` to expire account

2011-04-09 Thread enok srd
On Fri, Apr 8, 2011 at 7:46 PM, enok srd wrote: > Suggested fix: `change usermod --expiredate` to handle numeric > arguments the same way chage does, and update the usermod man page > accordingly. > > Here's some relevant code from usermod and chage in the most recent &

Bug#621810: shadow: usermod and passwd man pages wrongly suggest `usermod -e 1` to expire account

2011-04-08 Thread enok srd
Package: shadow Severity: normal *** Please type your report below this line *** The usermod and passwd man pages wrongly suggest [1] using  usermod --expiredate 1 to expire accounts.  Both of  chage --expiredate 1 and  usermod --expiredate 1970-01-02 do the right thing, but  usermod --