04-27-06 12:56 PM
--==[ bman ]==-- wrote:
>
> Not true. You can prevent a root user from accessing/modifying content
> a mounted NFS share from a remote server with the following:
This is UseNet. Please learn to quote context.
> - on HPUX: use 'access' directive
> - on Linux: use 'root_squash or no_root_squash
>
> Remote root access operation on mounted NFS shares is disabled by
> default. You have to explicitly enable it via /etc/exports. Finally,
> NFS relies heavily on UIDs and GIDs. I can go around your security by
> creating an account on a remote system with an UID or GID that owns
> files/dirs on the mounted share. Short of exporting read-only, there
> is not much you can do.
>
> man exports is your friend.
Here's my statement that was called not true:
[vbcol=seagreen]
It remains true. It access is given to user "dfreybur" on the client
host, but that users doesn't exist on that host or never logs in,
anyone with the root password can create "dfreybur" or give it a
local password. Bingo, access.
There's more access in the world than access *as* root. Anyone
with the root password can use any granted access as that user.
[ Post a follow-up to this message ]
|