🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54127

Re: Help! NFS mount problem

#54127
From: Matthew Tippett
Date: Thu, 27 Nov 1997 00:00
42 lines
2319 bytes
Greg Roberts wrote:
> 
> Hi all. I have this peculiar problem in one of our Linux labs. We have a
> Pentium box which contains all the home accounts, and these accounts get
> nfs mounted to all the other linux clients. Now the problem occurs when
> I'm on one of the client boxes, and I want to access the files in my
> personal account on the Pentium box. For example, my personal account on
> the Pentium is where I keep a lot of files I use for work on the lab.
> Now most of the time I need to be root to do anything, and so I 'cd'
> into my personal account, (from one of the client machines), but when I
> type 'ls' in whatever directory inside my account, I get nothing
> returned. It's as if the entire account is empty - which I know for a
> fact is not the case. Now this is quite annoying, because I have to ftp
> the files from my personal account to say /tmp, become root and then
> work on the file(s). I'm not sure if this is something specific to the
> setup in the lab, or a bug with the automount daemon, so that's why I'm
> posting this here. The machines all run RedHat 4.1 with most of the
> patches for that version applied. The client boxes are 486's with 16MB
> RAM. They're all connected to a Sun IPX machine. Any help with this will
> be appreciated.

I am confident it is the server, and not the clients.

The default share options stop root access to NFS. 

NFS is horrendously insecure.  You normally would not like root to have 
access to NFS mounts.

What version of SunOS are you running on the Server? 

I'll leap to the conclusion you are running Solaris.
In /etc/dfs/dfstab you need to add the option

	root='access_list'

Checkout share_nfs (1M) under Solaris.  Under other operating systems
you have similar options.  Checkout the nfs server sharing options.

That should get you going.

Matt
Technical Details
Message-ID: <347D184B.473BEEE2@dsto.defence.gov.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <347D1087.94CB67E2@ee.uwa.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,5fef3a477f777c47
X-Google-Attributes: gid102983,public
From: Matthew Tippett <matthew.tippett@dsto.defence.gov.au>
Subject: Re: Help! NFS mount problem
Date: 1997/11/27
Message-ID: <347D184B.473BEEE2@dsto.defence.gov.au>
X-Deja-AN: 293174490
References: <347D1087.94CB67E2@ee.uwa.edu.au>
To: gregr@ee.uwa.edu.au
Organization: ITD/DSTO 
Newsgroups: aus.computers.linux