Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Nov 2017 06:58:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223431] "pw useradd -D -e" writes bogus expire_days value into pw.conf
Message-ID:  <bug-223431-8-wdo10CVlP1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223431-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223431-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223431

--- Comment #14 from vas@mpeks.tomsk.su ---
(In reply to Eugene Grosbein from comment #13)

Looks like the patch works:

root@gw:~ # pw useradd -D -e 0
root@gw:~ # grep expire_days /etc/pw.conf=20
expire_days =3D 0
root@gw:~ # pw useradd -D -e 365
root@gw:~ # grep expire_days /etc/pw.conf
expire_days =3D 365
root@gw:~ # pw useradd sobaka
root@gw:~ # chsh sobaka=20
[...]
Expire [month day year]: November 6, 2018

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223431-8-wdo10CVlP1>