home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5549 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.3 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!ames!olivea!sgigate!sgiblab!ultra!rfj
  2. From: rfj@ultra.com (Ray Jackson)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: creating restricted shell environments
  5. Message-ID: <1992Aug14.201534.1805@ultra.com>
  6. Date: 14 Aug 92 20:15:34 GMT
  7. References: <1992Aug6.135112.23720@lokkur.dexter.mi.us> <1992Aug10.171606.11806@oakhill.sps.mot.com>
  8. Organization: Ultra Network Technologies
  9. Lines: 32
  10.  
  11. In <1992Aug10.171606.11806@oakhill.sps.mot.com> guri@sps.mot.com
  12. (Gurvinder Singh Ahluwalia) writes:
  13.  
  14. >Thanks for the one restriction pointed out. Does someone have a
  15. >list of restrictions that are implemented by the Bourne Shell.  I 
  16. >am particularly interested in SunOS 4.1.1.
  17.  
  18.   I just tried setting up an account under 4.1.2 that runs /usr/lib/rsh.
  19. It's not very restricted:
  20.  
  21. $ cd /
  22. cd: restricted
  23. $ more /var/adm/messages
  24. [stuff deleted]
  25. !/bin/csh
  26. /usr/lib/rsh: /bin/csh: restricted
  27. ------------------------
  28. !csh
  29. ultra% cd /
  30. ultra% pwd
  31. /
  32. ultra% touch /tmp/test.rsh
  33. ultra% ls -l /tmp/test.rsh
  34. -rw-r--r--  1 raccnt          0 Aug 14 13:11 /tmp/test.rsh
  35. ultra% 
  36.  
  37.   Is there a way to make rsh really restricted?
  38.  
  39. -- 
  40. --
  41. ray_jackson@ultra.com,  Phone: (408) 922-0100 x245 fax: (408) 433-9287
  42.     Ultra Network Technologies, 101 Daggett Dr, San Jose, CA 95134
  43.