From: managers account <managers () mannet ! mcb ! net>
To: tru64-unix-managers
Subject: SUMMARY : VERY restricted shell
Date: Wed, 30 Jun 1999 17:03:18 +0000 [thread overview]
Message-ID: <96079044116004.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1999-06-30 17:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox