home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!sdd.hp.com!usc!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!megatek!randy
- From: randy@ninja.megatek.uucp (Randy Davis)
- Subject: Re: rlogin as root works but can't access imported filesystem as root
- Message-ID: <1992Aug21.221231.5859@megatek.uucp>
- Sender: randy@megatek.uucp (Randy Davis)
- Reply-To: megatek!randy@uunet.uu.net
- Organization: Megatek Corporation, San Diego, California
- References: <21AUG92.16194077@cc4.crl.aecl.ca>
- Date: Fri, 21 Aug 1992 22:12:31 GMT
- Lines: 29
-
- In article <21AUG92.16194077@cc4.crl.aecl.ca> roihar@cc4.crl.aecl.ca writes:
- |I've got a problem. Our external disk on our server is exported
- |over our three SPARCstation II network and it's filesystem is
- |available to me as root if I rlogin as root from one of the
- |other two SPARCstation II's. However, if I merely access the
- |filesystem and attempt to descend into root access only directories
- |I get a privelege violation error even though I'm accessing the
- |filesystem that was exported to this workstation from the server
- |and I'm root on both with the same password on both???
- |Can somebody point me in the right direction?? I feel like I've
- |become the guest of honour at a Mexican birthday party!
-
- RTFM?
-
- Your /etc/exports file on the server is not set up to allow you to do this.
- Look at the man page for "exportfs" and look for the "-root=" option.
-
- To summarize: the /etc/exports file on the server is not exporting the
- filesystem to your system with the "-root=yourmachine" switch. /.rhosts
- doesn't affect this, nor does the same password for root for the two machines
- have any affect - so, although you can rlogin to the server as root and
- access the filesystem directly, you have to tell the nfs processes on the
- server that *your* machine's root is trusted to have root access to the
- exported partition that you are importing. See the man page on "exportfs"...
-
- Randy Davis UUCP: randy@megatek.com
- Corporate Network and System Administrator megatek!randy@uunet.uu.net
- Megatek Corporation, San Diego, California ucsd!megatek.uucp!randy
-
-