*BSD News Article 65965


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.mel.aone.net.au!imci4!newsfeed.internetmci.com!in1.uu.net!fu-berlin.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: nfs mounting linux drives under FreeBSD
Date: 15 Apr 1996 19:49:46 GMT
Organization: Private FreeBSD site, Dresden
Lines: 21
Message-ID: <4ku98q$cj0@uriah.heep.sax.de>
References: <aak2.829556087@ra.msstate.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

aak2@Ra.MsState.Edu (Atif Ahmad Khan) writes:

>I am not sure why I cant seem to be able to nfs mount drives from
>linux machines.
>
>I use "mount -t nfs linux1:/  /mnt/linux1"
>
>and it partially mounts it.  I keep getting permisson errors.

UID 0 is normally remapped to -2, so that you cannot defeate the
security of the NFS server.

You have to export it _on the server_ with a mapping of UID 0 == 0.
Consult your Linux manual for how to do this.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)