[Bug 216224] [regression] `pw usermod $username -m` doesn't work after r286196

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 28 17:41:18 UTC 2017


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

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

Author: bapt
Date: Sat Jan 28 17:40:37 UTC 2017
New revision: 312931
URL: https://svnweb.freebsd.org/changeset/base/312931

Log:
  MFC r312644, r312650

  r312644:
  Readd a feature lost in pw(8) refactoring

  pw usermod foo -m

  It used to be able to (re)create the home directory if it didn't exists

  PR:           216224
  Reported by:  ae
  MFC after:    3 days

  r312650:
  Really restore the old behaviour for pw usermod -m

  It again reinstall missing skel files without overwriting changed one
  Add a regression test about it

  Reported by:  ae
  MFC after:    3 days

Changes:
_U  stable/11/
  stable/11/usr.sbin/pw/psdate.c
  stable/11/usr.sbin/pw/pw_user.c
  stable/11/usr.sbin/pw/tests/pw_usermod.sh

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


More information about the freebsd-bugs mailing list