home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!ames!olivea!sgigate!sgiblab!ultra!rfj
- From: rfj@ultra.com (Ray Jackson)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: creating restricted shell environments
- Message-ID: <1992Aug14.201534.1805@ultra.com>
- Date: 14 Aug 92 20:15:34 GMT
- References: <1992Aug6.135112.23720@lokkur.dexter.mi.us> <1992Aug10.171606.11806@oakhill.sps.mot.com>
- Organization: Ultra Network Technologies
- Lines: 32
-
- In <1992Aug10.171606.11806@oakhill.sps.mot.com> guri@sps.mot.com
- (Gurvinder Singh Ahluwalia) writes:
-
- >Thanks for the one restriction pointed out. Does someone have a
- >list of restrictions that are implemented by the Bourne Shell. I
- >am particularly interested in SunOS 4.1.1.
-
- I just tried setting up an account under 4.1.2 that runs /usr/lib/rsh.
- It's not very restricted:
-
- $ cd /
- cd: restricted
- $ more /var/adm/messages
- [stuff deleted]
- !/bin/csh
- /usr/lib/rsh: /bin/csh: restricted
- ------------------------
- !csh
- ultra% cd /
- ultra% pwd
- /
- ultra% touch /tmp/test.rsh
- ultra% ls -l /tmp/test.rsh
- -rw-r--r-- 1 raccnt 0 Aug 14 13:11 /tmp/test.rsh
- ultra%
-
- Is there a way to make rsh really restricted?
-
- --
- --
- ray_jackson@ultra.com, Phone: (408) 922-0100 x245 fax: (408) 433-9287
- Ultra Network Technologies, 101 Daggett Dr, San Jose, CA 95134
-