]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317350
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 May 2017 20:50:32 +0000 (20:50 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 May 2017 20:50:32 +0000 (20:50 +0000)
commitf28594526327439e62503d0ff46d7e2235b60385
tree2026c52aae173e49ae0b530d8da204c48f064550
parenta26ada0190ecef79e607ce20a4b8f40d3d872c81
MFC: r317350
Fix the default uid/gid values in nfsuserd.c

This patch sets the default uid/gid values for "nobody" and "nogroup"
to the values in the password and group databases. Normally nfsuserd(8)
will override these with whatever is in the password/group databases,
so these values are only used when the databases entries aren't available.
It would be nice to use the definitions in sys/conf.h, but those are
in the _KERNEL section of the file.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317920 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/nfsuserd/nfsuserd.c