NFS /etc/exportfs Anonymous Users
I'm using tripwire to secure some servers (RHEL 4) and it's asked me to add a parameter to deny anonymous access, which is fair enough.
However I can't find any documentation regarding the value they're recommending (and I don't trust what tripwire suggests as fixes all the time!).
anonuid, no problem. According to man exports:
No reference to the -1 value to deny anonymous/unknown users. I did find a refernce to a parameter anon=-1 for SunOS though.
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).
Anyone actually know if -1 is a valid value for anonuid on Red Hat Linux?