SUMMARY : VERY restricted shell

From: managers account <managers_at_mannet.mcb.net>
Date: Wed, 30 Jun 1999 18:03:18 +0100 (BST)

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
Received on Wed Jun 30 1999 - 17:05:29 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT