Re: nfs help?



Il giorno ven, 09/06/2006 alle 10.58 -0500, Mikkel L. Ellertson ha
scritto:
Tim wrote:
On Thu, 2006-06-08 at 22:39 +0200, Ambrogio wrote:
Access rule are based on uid used on client at the mount time.
If you use root on client (for example) to mount an export, tipically
you can't access.

That's never been my experience. Firstly, normally only the root use
can mount something. Secondly, when mounting a Linux file system over
NFS, the original ownership is maintained, but numerically: User 500
remote is treated as user 500 local, so you better make sure that
usernames and user IDs match on both sides of the connection.
It is that I sayd.
For first, mount command is available also at user level.
The NFS, as CIFS on microsoft is accessible aslo at user level.
Otherwise must be everyone root to access, for examples, to home on
network server?
The user level is threated everytime numerically.
When you use ls -la and see a user insted of a number is only because ls
make a conversion, but on ACL we ave numbers.
So, when you mount a NFS export into a linux machine and use ls -la you
are on a client, so ls convert numbers using local passwd and groups.

Also, local root is normally mapped to user nobody on the remote
system unless the no_root_squash option in used. "man exports" for
more information.
True...
normally root is squashed to very very non-priviledged user. And maybe
that on remote filesystem this special user are authorized to make
NOTHING.
So the result is access denied or something else.

Bye
Ambrogio

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26
    ... please edit your Subject line so it is more specific ... you need to open a root xterm or even a root shell, ... boot manager is installed for this mirror and I would like to remove it ... was that NFS mount managwed ...
    (freebsd-questions)
  • Re: Share ZFS file system read/write to root
    ... tank/Solaris-SPARC ... On the client, I can't seem to sort out the options to make the file ... If I don't set the option on the server to make it writable to root, ... set it to be writable to root, so I can't mount it. ...
    (comp.unix.solaris)
  • Re: [SLE] NIS /home problem
    ... and mount it on /home on the client but yast doesn't let me. ... Originally did the client have an fstab with a line something like this? ... You should be able to log in as root. ...
    (SuSE)
  • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
    ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
    (FreeBSD-Security)
  • 2.6 kernel NFS root mount problem
    ... I'm tying to run 2.6.18 kernel on ARM AT91RM9200DK board with NFS mount ... usb usb1: Product: AT91 OHCI ... Unable to mount root fs via NFS, ...
    (Linux-Kernel)