Map nfs clients to user

From: Lucy (X3N0PH0N) 4 Jul 2016 21:22
To: ANT_THOMAS 14 of 20
:D
From: CHYRON (DSMITHHFX) 6 Jul 2016 14:43
To: Lucy (X3N0PH0N) 15 of 20
I got this working in nfs. It actually is pretty simple, you just have to add anonuid=,anongid= to the export line
Quote: 
anonuid and anongid These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. As an example, consider the export entry for /home/joe in the example section below, which maps all requests to uid 150 (which is supposedly that of user joe).
Quote: 
/home/joe pc001(rw,all_squash,anonuid=150,anongid=100)
http://manpages.ubuntu.com/manpages/wily/man5/exports.5.html
EDITED: 6 Jul 2016 14:45 by DSMITHHFX
From: Lucy (X3N0PH0N) 6 Jul 2016 15:09
To: CHYRON (DSMITHHFX) 16 of 20
Oh that's very handy, thanks!
From: ANT_THOMAS 6 Jul 2016 15:13
To: CHYRON (DSMITHHFX) 17 of 20
That is handy. Love Linux, hate permissions.
From: CHYRON (DSMITHHFX) 6 Jul 2016 15:23
To: ANT_THOMAS 18 of 20
permissions I can deal with, selinux drives me insane.
From: Manthorp 7 Jul 2016 13:19
To: ANT_THOMAS 19 of 20
Amen to that.  I expect Apple to treat their users as if they are Luddites with an instinct for self-harm, but Linux is open source and tinkerable, and the assumption should be that people will tinker with it.  Obliging them to type 'Simon says' before any change can be effected is irritating beardy paranoioa.
From: CHYRON (DSMITHHFX) 7 Jul 2016 14:48
To: Manthorp 20 of 20
The general idea is Simon, and only Simon, says...