Re: block root access to NFS mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-09-12 at 06:15, Mark Haney wrote:
> >   
> Yeah, it's a strange situation.  I have an NFS server that has exported 
> /home/users.  One of the machines (client A) that mounts that NFS share 
> is being handed to another group who needs root access.  Because of the 
> fact that we have other user accounts in /home/users I cannot let 
> someone else have root access on Client A.  What I want is to be able to 
> keep that NFS mount on Client A, but not let root on Client A access 
> that NFS mount.  Does that clear it up a bit? 

That's not strange at all.  It is the usual situation where
someone on another machine that has NFS access can become root
whether by a normal login or booting from a knoppix-type CD.

> I got another reply mentioning no_root_squash, but I just got in and I'm 
> not yet ready to look into that option, at least not until my fisrt cup 
> of coffee.

What happens is that the root user on the client is mapped to
the nobody user on the server.  Depending on the file/directory
permissions this may mean that access will be denied. That
would be the case on home directories set rx only by owner.
However, the permissions are established by uid number and
you have to remember that the user with root permission on
his local machine can create a user with any uid he wants
and su to that user.  At that point he will be able to access
any file on the NFS server with the permissions of this
other user.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux