[ILUG] NFS and root squashing: Solution and security?

Paul Jakma paul.jakma at compaq.com
Wed Mar 22 11:40:36 GMT 2000


On Wed, 22 Mar 2000, Cormac McClean wrote:

> Hi,
> 
> Thanks for the help and suggestions yesterday.
> 
> I have a solution to the problem, but I'm not happy
> with it. The problem is that when I mount the
> nfs-exported /home on the client, I cannot see
> the contents of the user directories. I have
> exported /home as
> 	/home (rw,no_root_squash)
> but root squashing seems to be occuring anyway(?)
> 

on the server try exportfs -ar, and remount it on the client.

next try:

umount on client
exportfs -u server:/home
exportfs -ar
mount on client

still doesn't work, unmount and stop nfs on server. go to /var/lib/nfs
and blast all those files with cat /dev/null > filename.
restart nfs / mount.






More information about the ILUG mailing list