[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 Dec 9 23:35:07 UTC 2017


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

--- Comment #15 from commit-hook at freebsd.org ---
A commit references this bug:

Author: eugen
Date: Sat Dec  9 23:34:01 UTC 2017
New revision: 326738
URL: https://svnweb.freebsd.org/changeset/base/326738

Log:
  pw(8): correct expiration period handling and command line overrides
  to preconfigured values for -e, -p and -w flags.

  Use non-negative symbols instead of magic values
  in passwd_val/pw_password functions.

  PR:           223431
  Submitted by: Yuri Pankov (in part, patch for the manual)
  Reported by:  mav (mentor)
  MFC after:    3 days
  Relnotes:     yes

Changes:
  head/usr.sbin/pw/psdate.c
  head/usr.sbin/pw/psdate.h
  head/usr.sbin/pw/pw.8
  head/usr.sbin/pw/pw.h
  head/usr.sbin/pw/pw_conf.c
  head/usr.sbin/pw/pw_user.c

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


More information about the freebsd-bugs mailing list