Date: Wed, 28 Jan 1998 02:15:09 +1100 (EST) From: Andrew Kenneth Milton <akm@sneaker.net.au> To: paul@cgu.ml.org (Paul Dekkers) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Prevent user from skinnpping commands Message-ID: <199801271515.CAA03155@mother.sneaker.net.au> In-Reply-To: <199801271416.PAA06212@chippie.cgu.edusurf.nl> from "Paul Dekkers" at Jan 27, 98 03:16:41 pm
next in thread | previous in thread | raw e-mail | index | archive | help
+-----[ Paul Dekkers ]------------------------------ | | Hi | | How can I prevent a user from skipping commands by using Ctrl-C or Ctrl-Z | or can I better (and how) disable the whole commands? | My goal is to let a user log in, start something in .profile and | immediately log out without being able to use Ctrl-C to get shell | access... :-) Change their shell to be a shell script that runs the command, if they control C out then the session will be disconnected. This is great if there's only one thing that they're going to run. There are also menuing shells available under the /usr/ports/shells if you want them to have a choice about what they're running. Most of these (from the descriptions) will let you disable shell access. I haven't used any, so I can't recommend them. -- ,-_|\ SneakerNet | Andrew Milton | GSM: +61(41)6 022 411 / \ P.O. Box 154 | akm@sneaker.net.au | Fax: +61(2) 9746 8233 \_,-._/ N Strathfield +--+----------------------+---+ Ph: +61(2) 9746 8233 v NSW 2137 | Low cost Internet Solutions |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801271515.CAA03155>