O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Restricted Shell

This is a version of the shell that allows restricted access to Unix. Running under rsh is equivalent to ksh, except that the following is not allowed:

  • changing directories

  • setting the value of ENV, PATH, or SHELL variables

  • specifying path or command names containing /

  • redirecting output of a command with >, >|, <>, or >>

These restrictions apply only after the .profile and environment files have been processed.

Privileged Mode

Privileged mode allows execution of the environment and .profile files to be controlled. When enabled, the ∼/.profile and environment files are not executed. Instead, /etc/suid_profile is read and executed.

The /etc/suid_profile file can be configured by the system administrator to control execution of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required