From: "Simon M. H. Chan" <simonc@freeway.org.hk>
To: zsh-workers@math.gatech.edu
Subject: Restrict the other path
Date: Wed, 21 May 1997 17:36:14 +0800 (HKT) [thread overview]
Message-ID: <Pine.LNX.3.95.970521172912.32513B-100000@anna.freeway.org.hk> (raw)
Dear all,
I have just downloaded the zsh-3.1.0, and succeed to complie it. However,
I have a question.
I would like to ask you that how to make a restricted zsh shell? The one
which do not allow users to run applications in all directories except the
specific directory which I allow them to run.
Users can type the full path to run what they want, e.g. /usr/bin/chsh or
they can complie program themselves and run it by ~/programname.
I don't want this to be happened.
Someone said that I just need to modify the source code
"/zsh-3.1.0/Src/exec.c", however, I am not good at programming(I am just
16!) and I am worry that it will have bugs if I try to modify it myself.
Please, if anyone know how to make a restricted shell, please help me.
Thank you very much.
Regards,
Simon
next reply other threads:[~1997-05-21 9:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-21 9:36 Simon M. H. Chan [this message]
1997-05-21 19:53 ` Zoltan T. Hidvegi
1997-05-22 5:01 Simon M. H. Chan
1997-05-22 5:53 ` Zoltan Hidvegi
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=Pine.LNX.3.95.970521172912.32513B-100000@anna.freeway.org.hk \
--to=simonc@freeway.org.hk \
--cc=zsh-workers@math.gatech.edu \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).