Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!spool.mu.edu!news.sol.net!uniserve!van-bc!unixg.ubc.ca!atha!sgiblab!sgigate.sgi.com!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!taco.cc.ncsu.edu!news-server.ncren.net!hearst.acc.Virginia.EDU!maui.cc.odu.edu!bosco101 From: sturgesj@bosco.cc.odu.edu (Jonathan Sturges) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Restricted shell in FreeBSD? Date: Wed, 15 Nov 95 18:36:57 GMT Organization: Old Dominion University Lines: 20 Message-ID: <48dc2k$aki@maui.cc.odu.edu> NNTP-Posting-Host: bosco48101.cc.odu.edu Summary: How to make a restricted shell? Keywords: restricted shell X-Newsreader: News Xpress Version 1.0 Beta #4 Hi everyone, My nutshell book, "Practical Unix Security," sez that for BSD systems in general, you can create a restricted shell by making a link to /bin/sh. It says that sh will look to see what name was used to invoke it, and behave accordingly. Anyway, I tested it, and it didn't seem to be restrictive at all. What's the deal? This is the first time I've tried to setup a restricted shell, and all I'm going on is the Nutshell book. So maybe the info I have doesn't pertain to FreeBSD, or I've missed something important... :) thanks... Jonathan Sturges, sturgesj@bosco.cc.odu.edu LAN/Workstation Support Old Dominion University "Omigod... the dead have risen, and they're voting Republican!" --Bart Simpson