Date: Sun, 05 Nov 2017 13:28:11 +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-IeP6v46d9Q@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 Yuri Pankov <yuripv@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187753|0 |1 is obsolete| | --- Comment #4 from Yuri Pankov <yuripv@gmx.com> --- Created attachment 187757 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187757&action= =3Dedit fix -e and -p with -D, properly use the config values - move the checks to mix_config() as we need to know if we are writing the config (-D) - if writing config, use the values specified on the command line (checking them for validity) - if we are adding the user, first try the value on the command line, then = the value in the config, and finally just disable the expiration --=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-IeP6v46d9Q>