Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: restricted shell
- X-seq: zsh-users 4418
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Emre Yildirim <emre@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: restricted shell
- Date: Sun, 21 Oct 2001 19:53:07 +0000
- In-reply-to: <3BD322B8.2020601@xxxxxxxxxxxxx>
- 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> <3BD322B8.2020601@xxxxxxxxxxxxx>
On Oct 21, 2:32pm, Emre Yildirim wrote:
}
} Borsenkow Andrej wrote:
}
} > 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
}
} Hmm, that didn't work. I can still use echo after doing the above.
"disable" only disables the builtin. If there's still an external
command named "echo" in the path, that will get executed instead.
zsh% which echo
echo: shell built-in command
zsh% disable echo
zsh% which echo
/bin/echo
zsh%
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author