Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: restricted shell



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