home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / admin / 9410 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!cbnewsj!hilbert!tommy
  3. From: tommy@hilbert.att.com (Tom Reingold)
  4. Subject: Re: Root Priviledges Between Workstation and Server?
  5. Reply-To: tommy@boole.att.com
  6. Organization: AT&T Bell Labs, Holmdel, NJ, USA
  7. Date: Mon, 14 Dec 1992 16:05:52 GMT
  8. Message-ID: <tommy.724349152@hilbert>
  9. References: <derosa.724003438@mica>
  10. Sender: news@cbnewsj.cb.att.com (NetNews Administrator)
  11. Nntp-Posting-Host: hilbert.l1135.nj.att.com
  12. Lines: 25
  13.  
  14. derosa@rtsg.mot.com (John DeRosa) writes:
  15.  
  16. $ I need to have root run a process on a workstation and
  17. $ have the results written to a log file on a server on
  18. $ the network.  Whenever I do this I get a "permission
  19. $ denied".  
  20.  
  21. $ The path to the log file in question is writable by 
  22. $ owner only (root).  The /.rhosts file on both the workstation
  23. $ and server include both the name of the workstation
  24. $ and the server.  Shouldn't this allow root priviledges
  25. $ between these computers?
  26.  
  27. $ If not, how else might I accomplish this?
  28.  
  29. The .rhosts file is used for remote execution which is a different
  30. facility than NFS.  NFS is daemons talking to each other as root and do
  31. not check permission to do remote execution.  As others have indicated,
  32. you should either export the filesystem granting root privileges to the
  33. client or open the file permissions on the server before running the
  34. program on the client.
  35. -- 
  36. Tom Reingold
  37. AT&T Bell Labs, Holmdel, NJ
  38. tommy@boole.att.com or att!boole!tommy
  39.