]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r315912 (by eugen@) and r315935
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Apr 2017 09:29:47 +0000 (09:29 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Apr 2017 09:29:47 +0000 (09:29 +0000)
commit4a04c11a03d88644251e5ed4b13dcfae2af0eb3f
treecbef39eaaba43faf2935b8a93613f8978b3260d5
parent5892e047d70cb53db260f1dd1fc28696a424ffb5
MFC: r315912 (by eugen@) and r315935

Properly initialise with content of pw.conf(5) that was mistakenly ignored.
Also, respect "defaultgroup" if specified there.

Add a regression test

PR: 217934
Submitted by: Victor Sudakov <vas@mpeks.tomsk.su>

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