Rick Macklem 947572b4ee Change the default uid/gid values for nobody/nogroup to 65534/65533.
The default values found in /etc/passwd and /etc/group are 65534, 65533.
In mountd.c, the defaults were -2, which was 65534 back when uid_t was 16bits.
Without this patch, a file created by root on an NFS exported volume without
the "-root=" export option will end up owned by uid 4**32 - 2.
When discussed on freebsd-current@, it seemed that users preferred the
values being changed to 65534/65533.
I have not added code to acquire these values from the databases, since
the mountd daemon might get "stuck" during startup waiting for a non-responsive
password database server.

Discussed on:	freebsd-current
2017-05-14 00:38:41 +00:00
..
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-05-09 01:48:23 +00:00
2016-01-21 18:41:55 +00:00
2017-05-09 01:48:23 +00:00
2017-05-09 01:48:23 +00:00
2017-03-11 04:00:27 +00:00
2017-04-27 16:05:12 +00:00
2017-05-03 14:03:46 +00:00
2017-03-10 04:24:21 +00:00
2015-08-01 10:40:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-01-04 00:39:06 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2017-04-04 21:36:13 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-02 11:30:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-11 04:03:13 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 02:22:15 +00:00
2017-02-10 19:17:10 +00:00
2015-06-13 19:20:56 +00:00
2017-03-20 22:36:28 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-01 04:12:24 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2016-09-30 20:35:12 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-08-12 10:34:05 +00:00
2015-09-17 05:06:34 +00:00
2015-09-03 07:18:52 +00:00
2015-06-13 19:20:56 +00:00
2017-01-28 02:22:15 +00:00