linux-l: Probleme mit der Berechtigung bei NFS

Peter J. Weyers weyers at ifh.de
Di Jun 2 16:12:50 CEST 1998


On Tue, 2 Jun 1998, Peter J. Weyers wrote:

> On Tue, 2 Jun 1998, Kay Molkenthin wrote:
> 
> > Wo könnte das Problem liegen?
> 
> Bei NFS hast Du nicht automatisch root rechte auf dem gemounteten Volumen,
> d.h. Du kannst als root dort nur schreiben, wenn es weltschreibbar ist.
> Ich vermute, der von Ralf beschriebene Eintrag erlaubt root vom andern
> Rechner, sich als root aufzufuehren ;-)

man exports:

[...]
       Very  often,  it  is not desirable that the root user on a
       client machine is also  treated  as  root  when  accessing
       files  on  the  NFS server. To this end, uid 0 is normally
       mapped to a  different  id:  the  so-called  anonymous  or
       nobody  uid.  This mode of operation (called `root squash­
       ing')  is  the  default,  and  can  be  turned  off   with
       no_root_squash.

[...]

       root_squash
              Map  requests  from  uid/gid  0  to  the  anonymous
              uid/gid. Note that this does not apply to any other
              uids  that might be equally sensitive, such as user
              bin.

       no_root_squash
              Turn off root squashing. This option is mainly use­
              ful for diskless clients.

Muss also im Gegensatz von dem was Ralf geschrieben hat no_root_squash
heissen                                                 ^^^


Peter
  ,--------------------------------------------------------------------.
  |Phone:  033762/77-507 , 030/2093-7812  | http://www.ifh.de/~weyers/ |
  `--------------------------------------------------------------------'






Mehr Informationen über die Mailingliste linux-l