[Bug 223431] "pw useradd -D -e" writes bogus expire_days value into pw.conf
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 6 06:58:09 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223431
--- Comment #14 from vas at mpeks.tomsk.su ---
(In reply to Eugene Grosbein from comment #13)
Looks like the patch works:
root at gw:~ # pw useradd -D -e 0
root at gw:~ # grep expire_days /etc/pw.conf
expire_days = 0
root at gw:~ # pw useradd -D -e 365
root at gw:~ # grep expire_days /etc/pw.conf
expire_days = 365
root at gw:~ # pw useradd sobaka
root at gw:~ # chsh sobaka
[...]
Expire [month day year]: November 6, 2018
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list