linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jens Knoell" <jens@surefoot.com>
To: Linux Admin <linux-admin@vger.kernel.org>
Subject: Restricting shells...
Date: Tue, 24 Feb 2004 10:42:50 -0700	[thread overview]
Message-ID: <003701c3fafd$9ff50250$6f00000a@jenswin2k> (raw)

This is kinda tricky:

Situation:
- A webserver, hosting a page which has CGIs enabled
- Not-too-bright webdesigner putting up scripts that allow "escaping", by
i.e. sending a receipient of someone@somewhere;/bin/bash -i

I want to restrict _interactive_ bash shells (other shells are not a concern
yet). Is there _any_ way to do that, short of wrapping bash into a little
program that checks by whom bash got called and with which parameters?

Thanks
Jens


             reply	other threads:[~2004-02-24 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 17:42 Jens Knoell [this message]
2004-02-24 18:51 ` Restricting shells Hal Wigoda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003701c3fafd$9ff50250$6f00000a@jenswin2k' \
    --to=jens@surefoot.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).