Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: restricted shell
- X-seq: zsh-users 4416
- From: "Nadav Har'El" <nyh@xxxxxxxxxxxxxxxxxxx>
- To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: restricted shell
- Date: Sun, 21 Oct 2001 21:21:16 +0200
- Cc: Emre Yildirim <emre@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Hebrew-date: 5 Heshvan 5762
- In-reply-to: <1003690856.3370.17.camel@xxxxxxxxxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Sun, Oct 21, 2001 at 11:00:49PM +0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <3BD30F75.7060904@xxxxxxxxxxxxx> <20011021201625.F11977@xxxxxxxxxxxxxxxxxx> <3BD314E4.8090802@xxxxxxxxxxxxx> <1003690856.3370.17.camel@xxxxxxxxxxxxxxxxxxxxx>
On Sun, Oct 21, 2001, Borsenkow Andrej wrote about "Re: restricted shell":
> On ÷ÓË, 2001-10-21 at 22:33, Emre Yildirim wrote:
> > able to execute certain commands (like echo, pwd, export, etc).
> > How can I restrict the execution of those commands as well?
> >
>
> Using disable builtin. Make .zshrc read-only for user (or do it in
> system zshrc and make user's home directory read-only) and put
>
> disable echo
>
> there.
And probably also
disable enable
If you don't want the user to "enable echo" back...
--
Nadav Har'El | Sunday, Oct 21 2001, 5 Heshvan 5762
nyh@xxxxxxxxxxxxxxxxxxx |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |"Computers are useless. They can only
http://nadav.harel.org.il |give you answers." -- Pablo Picasso
Messages sorted by:
Reverse Date,
Date,
Thread,
Author