home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / shell / 5248 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!usenet.ins.cwru.edu!gatech!destroyer!mudos!mudos!not-for-mail
  2. From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: How to make Restrict Shell more safely?
  5. Date: 5 Jan 1993 01:55:35 -0500
  6. Organization: The Programmers' Pit Stop, Ann Arbor MI
  7. Lines: 13
  8. Message-ID: <1ibbd7INNiml@mudos.ann-arbor.mi.us>
  9. References: <cslee.225.726145569@pds.nchu.edu.tw> <1993Jan4.194925.7364@crd.ge.com> <1993Jan4.200035.7840@crd.ge.com>
  10. NNTP-Posting-Host: mudos.ann-arbor.mi.us
  11.  
  12. In article <1993Jan4.200035.7840@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  13. >Followups please note any major holes in this (I've run it for years, so
  14. >I probably have a fix I didn't mention).
  15.  
  16. Hmm.  Is vi part of the /guest/bin environment?  If so, all the user
  17. has to do is "vi foo", then do ":set shell=/bin/sh" and ":!/bin/sh".
  18. Presto, they have an unrestricted shell.
  19.  
  20. -- 
  21. Marc Unangst, N8VRH         | "Of course, in order to understand this you
  22. mju@mudos.ann-arbor.mi.us   |  have to remember that the nucleus of the atom
  23.                             |  is squishy."
  24.                             |    -W. Scheider, from a Physics lecture
  25.