NFS problem

NFS problem

Post by Chris Hawkins » Tue, 02 Apr 1996 04:00:00



I'm having a somewhat difficult time with NFS, specifically with just allowing
one host to access.  For example, I have a host named news, I want to be the
only host to access something off of host csbi, and do it as root.  So, my share
looks like (on csbi):

share -F nfs -o rw=news,root=news /usr/share

However, when I mount, I get an access denied.  In fact, anytime I use the rw or
ro options, I get an access denied message on mount.

Now, root works fine, but then ANYONE can read my directory, which is not what I
want done.

I got the book Solaris Implimentation, A guide for System Administrators, but it
talks about an 'access' option which is not on my 2.3, 2.4 or 2.5 systems.

What am I missing?

Chris
---------------------------------------------------------------
                     MHVNet - Full Internet Access
 In Fishkill, Middletown, Kingston, Poughkeepsie and Tarrytown.
         Call 473-0844 (voice) or see http://www.mhv.net
                Dialup, ISDN, Dedicated access.
              Business, School and Special Services

 
 
 

NFS problem

Post by Jim Harla » Tue, 02 Apr 1996 04:00:00



> I'm having a somewhat difficult time with NFS, specifically with just allowing
> one host to access.  For example, I have a host named news, I want to be the
> only host to access something off of host csbi, and do it as root.  So, my share
> looks like (on csbi):

> share -F nfs -o rw=news,root=news /usr/share

> However, when I mount, I get an access denied.  In fact, anytime I use the rw or
> ro options, I get an access denied message on mount.

> Now, root works fine, but then ANYONE can read my directory, which is not what I
> want done.

> I got the book Solaris Implimentation, A guide for System Administrators, but it
> talks about an 'access' option which is not on my 2.3, 2.4 or 2.5 systems.

> What am I missing?

> Chris
> ---------------------------------------------------------------
>                      MHVNet - Full Internet Access
>  In Fishkill, Middletown, Kingston, Poughkeepsie and Tarrytown.
>          Call 473-0844 (voice) or see http://www.mhv.net
>                 Dialup, ISDN, Dedicated access.
>               Business, School and Special Services

Have you tried:
        nfs.server stop/start
        nfs.client stop/start
??

--
Jim Harlan
System Administrator
Chrysler DEC


 
 
 

NFS problem

Post by Pu » Tue, 02 Apr 1996 04:00:00



>share -F nfs -o rw=news,root=news /usr/share

Telnet from the client to the server, do a `who`. This will tell you
what the system things the clients hostname is. This is what should go
in the configuration. Sometimes you need to put FQDN in instead of
shortname depending on your name resolution.

Why it would allow root, but not mounting is beyond me actually, but the
above works in all of the cases I've ever had.

Ciao,

--
Richard Bainter          Mundanely     |    OS Specialist         - OMG/CSD
Pug                      Generally     |    Applied Research Labs - U.Texas

Note: The views may not reflect my employers, or even my own for that matter.

 
 
 

1. NFS Problems... "Unknown NFS client"

Hi!

I have just installed Slackware 2.3 and I'm trying to use NFS
with a Sun.

I can mount drives on the Sun, but the Sun can't mount drives on my
Linux box. I have stripped the /etc/exports file to include only:

/usr/local    *.my.domain(ro)

Yet, I receive messages like this in the syslog on the Linux box:

mount[49]: Unknown NFS client 191.214.xxx.yyy tried to access /usr/local

I have DNS working, and I have tried to put the Sun in my /etc/hosts
file to no avail...

Anyone know what could be wrong?!

Thanks in advance!

Regards,
   Fredrik Lindgren

2. Starting pcnfsd with inetd

3. NFS problems with PC/TCP's NFS

4. VPN connects, verifies username and password, then times out

5. NFS problem: NFS client hosed by windows machine?

6. gnome auto(re)starts many programs upon restarting X

7. NFS problem and swapping problem

8. port numbering in client/server

9. NFS Problem

10. NFS problem

11. NFS problem between AIX and SuSE

12. NFS problem with AIX server

13. 4.2.0 to 4.2.1 NFS problems