Re: [LUNI] Jailing UsersFrom: Keith T. Garner (kgarner@kgarner.com)Date: Wed Mar 28 2001 - 15:12:39 CST
On Wed, Mar 28, 2001 at 02:53:30, Erich Kolb said:
In what way? Interactive usage or what?
The restricted mode of pdksh might do what you want....
A shell is restricted if the -r option is used or if
bash2 also has a restricted mode:
ˇ changing directories with cd
ˇ setting or unsetting the values of SHELL, PATH,
ˇ specifying command names containing /
ˇ specifying a file name containing a / as an argu
ˇ importing function definitions from the shell envi
ˇ parsing the value of SHELLOPTS from the shell envi
ˇ redirecting output using the >, >|, <>, >&, &>, and
ˇ using the exec builtin command to replace the shell
ˇ adding or deleting builtin commands with the -f and
ˇ specifying the -p option to the command builtin
ˇ turning off restricted mode with set +r or set +o
-- Keith T. Garner kgarner@kgarner.com The Net Squad, Internet Solutions Architect garner@thenetsquad.com "Yea though I walk through the valley of point-and-click, I will fear no command line: for UNIX art with me; thy kernel and thy shell they comfort me." -=- Linux Users Of Northern Illinois: General Discussion Mailing list. For unsubscription, archives, and announcements only see http://luni.org
This archive was generated by hypermail 2b29 : Wed Mar 28 2001 - 15:15:00 CST |