"pw useradd -D -e" writes bogus expire_days value into pw.conf

Yuri Pankov yuripv at gmx.com
Sun Nov 5 11:45:51 UTC 2017


On Sun, 5 Nov 2017 10:32:22 +0700, Victor Sudakov wrote:
> Dear Colleagues,
> 
> Could anyone please reproduce this bug, especially on an 11.x and 12.x
> branches? Or is it just me?
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223431

Yes, it's the same on -CURRENT, but as the man page says, argument to -e 
must be numeric in presence of -D, so most likely it just needs an 
additional check.


More information about the freebsd-hackers mailing list