From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079044116004.tru64-unix-managers.marc@archive.invalid> From: managers account Date: Wed, 30 Jun 1999 17:03:18 +0000 To: tru64-unix-managers Subject: SUMMARY : VERY restricted shell X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079044116004 Many thanks to: Stanley Horwitz Oisin Mcguinness Joe LaCascio Rafael Najmanovich Gordon Laswon Lucio Chiapetti Jim Fitzmaurice Most of whom said that you should change the shell entry in /etc/passwd to the name of the shell you want to run. However you should watch the following:- You need an entry in /etc/shells You should make the owner /group of the shell program appropriate to the passwd entry You should have a first line in the script of (eg) #!/bin/sh You must ensure that you nowhere allow a shell out and that a break logs out All stop points in the script have to exit TEST TEST TEST!!!!! One post reminded us that we could make the script into a cgi. stuart mckenzie