home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!gatech!udel!news.udel.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!ucivax!megatek!randy
- From: randy@megatek.com (Randy Davis)
- Subject: Re: Root Priviledges Between Workstation and Server?
- Message-ID: <1992Dec11.192837.11791@megatek.com>
- Sender: randy@megatek.com (Randy Davis)
- Reply-To: randy@megatek.com
- Organization: Megatek Corporation, San Diego, California
- References: <derosa.724003438@mica>
- Date: Fri, 11 Dec 1992 19:28:37 GMT
- Lines: 38
-
- In article <derosa.724003438@mica> motcid!derosa@uunet.uu.net writes:
- |I need to have root run a process on a workstation and
- |have the results written to a log file on a server on
- |the network. Whenever I do this I get a "permission
- |denied".
- |
- |The path to the log file in question is writable by
- |owner only (root). The /.rhosts file on both the workstation
- |and server include both the name of the workstation
- |and the server. Shouldn't this allow root priviledges
- |between these computers?
-
- No. The filesystem on the server has to be explicitly exported with
- root access allowed. Otherwise, the root account on the client only has
- "other" permissions on the nfs-mounted filesystem. Typically, the root
- account is assigned a user-id such as "-1" or "65534" for the purposes
- of reading/writing/executing on the mounted filesystem, which usually
- puts it in the "other" category when determining access.
-
- |If not, how else might I accomplish this?
-
- change your exports line on the server to something like this:
-
- /filesystem -root=client_system_name
-
- and re-execute "exportfs -av".
-
- OR... Login to the server and create the file and change the permissions
- to 666 so anyone can write to it, and root on the workstation should be able
- to then, no problem.
-
- OR... change the mode on the directory to 777, so anyone can create a file
- in the directory.
-
- Randy Davis Email: randy@megatek.com
- Corporate Network and System Administrator megatek!randy@uunet.uu.net
- Megatek Corporation, San Diego, California ucsd!megatek.uucp!randy
-
-