]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r312644, r312650
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Feb 2017 19:28:49 +0000 (19:28 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Feb 2017 19:28:49 +0000 (19:28 +0000)
commitc2a4549530b16bf4ea45309a2ec79e28ddfaa953
tree04e3a334c5015e16977b1ba6dc9acf096acf76b5
parent4ac67d1462fdb3897244b3a5b4d47728cfa603e8
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

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

PR: 216224
Reported by: ae

git-svn-id: svn://svn.freebsd.org/base/stable/10@314277 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pw/psdate.c
usr.sbin/pw/pw_user.c
usr.sbin/pw/tests/pw_usermod.sh