On Fri, 17 Mar 2000, Rob Saul wrote:

> 
> Some Unix variants have had a shell called restricted_shell
> (usually given the helpful name rsh).  I don't recall ever
> seeing a version for Linux, but a description can be found
> here: http://gsbjfb.uchicago.edu/man/man1m/rsh.html
> 

The following is from the ksh (pdksh) man page:

A shell is restricted if the -r option is used or if either
the basename of the name the shell is invoked with or the
SHELL parameter match the pattern *r*sh (e.g., rsh, rksh,
rpdksh, etc.).  The following restrictions come into effect
after the shell processes any profile and $ENV files: 

  o    the cd command is disabled
  o    the SHELL, ENV and PATH parameters can't be changed
  o    command names can't be specified with absolute or
       relative paths
  o    the -p option of the command built-in can't be used
  o    redirections that create files can't be used
       (i.e., >, >|, >>, <>)



-- 
John Darrah (u05192)    | Dept: N/C Programming
Giddens Industries      | Ph: (425) 353-0405 #229
PO box 3190             | Ph: (206) 767-4212 #229
Everett  WA    98203    | Fx: (206) 764-9639


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to