Why are NFS permissions suddenly denied.

Jerry McBride mcbrides9
Mon May 17 11:42:15 PDT 2004


On Sun, 29 Dec 2002 12:09:15 -0500 kbb0927 at cs.com wrote:


> /etc/hosts.allow = ALL:192.161.1.0/255.255.255.0.
> 

Shouldn't that read:

all:127.0.0.1
all:192.161.1./255.255.255.0
portmap:192.161.1.0/255.255.255.0

>  Could I just copy my smb.conf files...

As long as the two sambas are of the same or close version numbers and
compiled with the same directory configuration... yes.

> /etc/exports looks like this:   
/public \    
/cdrom  \mnt\cdrom

You're not stating any options in the exported resources, are you sure the
defaults are correct?

On my private lan, my server has:

#/etc/exports
#
/ spyro(rw,no_root_squash,insecure)
/ sid(rw,no_root_squash,insecure)

This allows user sid and spyro to nfs mount the server root with no security.

Cheers and good luck.


-- 

******************************************************************************
                     Registered Linux User Number 185956
          http://groups.google.com/groups?hl=en&safe=off&group=linux
             Join me in chat at #linux-users on irc.freenode.net
    12:51pm  up 36 days, 14:31, 10 users,  load average: 0.06, 0.10, 0.09


More information about the Linux-users mailing list