[Bug 223431] "pw useradd -D -e" writes bogus expire_days value into pw.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 4 17:52:26 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223431

            Bug ID: 223431
           Summary: "pw useradd -D -e" writes bogus expire_days value into
                    pw.conf
           Product: Base System
           Version: 10.4-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: vas at mpeks.tomsk.su

How to reproduce&

# pw useradd -D -e +1y
# grep expire_days /etc/pw.conf 
expire_days = 1541353753
# 

WTF is 1541353753 days? It's four million years!

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


More information about the freebsd-bugs mailing list