Bug#304934: [Pkg-shadow-devel] Bug#304934: passwd: please add command line option to override PASS_MAX_DAYS

Alexander Gattin Alexander Gattin <arg@online.com.ua>, 304934@bugs.debian.org
Sun, 17 Apr 2005 00:46:26 +0300


Hi!

On Sat, Apr 16, 2005 at 10:26:43PM +0200, Marc Haber wrote:
> On Sat, Apr 16, 2005 at 09:46:52PM +0300, Alexander Gattin wrote:
> > I think "-e" option should just have higher priority
> > than PASS_MAX_DAYS.
> 
> -e seems to set a different field in /etc/shadow and so does something
> different. Additionally, -e insisting on a date seems to make it
> impossible to set the default of "99999"

By the way, you can use `useradd -e ""` to remove
_account expiration_, although this is irrelevant to
the problem you faced. :-/

-- 
WBR,
xrgtn