linux-mips-fnet
[Top] [All Lists]

Re: filesystem problems

To: Richard van den Berg <R.vandenBerg@inter.NL.net>
Subject: Re: filesystem problems
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Thu, 17 Feb 2000 18:41:43 +0100
Cc: Rabeeh Khoury <rabeeh@galileo.co.il>, "linux-mips@fnet.fr" <linux-mips@fnet.fr>
In-reply-to: <Pine.LNX.3.95.1000217162228.1351C-100000@whale.dutch.mountain>
References: <38AC6C30.8F8412F9@galileo.co.il> <Pine.LNX.3.95.1000217162228.1351C-100000@whale.dutch.mountain>
On Thu, Feb 17, 2000 at 04:23:05PM +0100, Richard van den Berg wrote:

> $ man 5 exports
> 
> ...
> 
>        By default, nfsd tries to obtain the anonymous uid and gid
>        by looking up user nobody in the password file at  startup
>        time.  If it isn't found, a uid and gid of -2 (i.e. 65534)
>        is used. These  values  can  also  be  overridden  by  the
>        anonuid and anongid options.
> 
> ...
> 
> Guess you have to edit /etc/exports to change the behaviour.

He is looking for the no_root_squash export option which disables uid /
gid remapping as you describe above.  Like:

# cat /etc/exports
/       victim(rw,no_root_squash)
#

  Ralf

<Prev in Thread] Current Thread [Next in Thread>