Article View: comp.os.linux.networking
Article #438Re: how do U get root status on NFS mounted directories
From: jensenj
Date: Tue, 02 Jul 1996 00:00
Date: Tue, 02 Jul 1996 00:00
31 lines
2123 bytes
2123 bytes
awhamilt@calum.csclub.uwaterloo.ca (Drew Hamilton) wrote:
>In article <4qhvhq$30d@nntp1.best.com>,
>Michael <webmaster@girlswear.com> wrote:
>>using the NFS daemon on linux, how do you
>>retain root status on the remotely mounted files??
>>
>>the usual stuff for unix does not appear to work
>>how does root write or create files on the remote system
>>without explicitly setting all the directories mode 777 ??
>I don't think you can. Even if you could, you shouldn't, since this
>can cause big security risks.
>Better way to do it is to su to whoever owns the file over NFS, and
>then you can read and write to your heart's content.
>---
>Drew Hamilton UW Math/CS http://www.csclub.uwaterloo.ca/u/awhamilt
>char *Girlfriend=NULL; int languages[3]={English,French,C};
>#include<fdc.h> #define DREAMGIRL "Belle" const int status=SINGLE;
>"Je veux m'envoler dans le bleu de l'espace..." - Belle, lBelB, 1991
Don't do ;ike I did and trust the man exports page! On the linux nfs
server in the /etc/exports file specify "no_root_squash". It works for
me. By the way, don't pay any attention to all this crap about not
logging in as root. If your like me and many others I know you have a
linux stand alone workstation at home and you are trying to learn
about Unix. If this is the case then EVERYTHING you do on the box
requires root access!!!
Technical Details
Message-ID:
<4ra2s9$h5c@news.tcd.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4qhvhq$30d@nntp1.best.com> <4qmrm3$pok@calum.csclub.uwaterloo.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112e82,c3a928ae9bc5a6bd X-Google-Attributes: gid112e82,public X-Google-Thread: 10669a,c3a928ae9bc5a6bd X-Google-Attributes: gid10669a,public X-Google-Thread: 10e986,c3a928ae9bc5a6bd X-Google-Attributes: gid10e986,public X-Google-Thread: 100b1f,c3a928ae9bc5a6bd X-Google-Attributes: gid100b1f,public From: jensenj@tcd.net Subject: Re: how do U get root status on NFS mounted directories Date: 1996/07/02 Message-ID: <4ra2s9$h5c@news.tcd.net> X-Deja-AN: 163214849 references: <4qhvhq$30d@nntp1.best.com> <4qmrm3$pok@calum.csclub.uwaterloo.ca> organization: NETConnect newsgroups: comp.os.linux.networking,comp.os.linux.help,best.unix,ucb.os.linux