start page | rating of books | rating of authors | reviews | copyrights

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 4.8 Invoking the Shell Chapter 4
The Bourne Shell and Korn Shell
Next: 5. The C Shell
 

4.9 Restricted Shells

Restricted shells can be invoked in any of the following ways:


rksh
	

Korn shell

 
ksh -r
 
set -r
  
rsh
	

Bourne Shell

 
set -r

Restricted shells can also be set up by supplying rksh and rsh in the shell field of /etc/passwd or by using them as the value for the SHELL variable.

Restricted shells act the same as their non-restricted counterparts, except that the following are prohibited:

Shell scripts can still be run, since in that case the restricted shell will call ksh or sh to run the script.


Previous: 4.8 Invoking the Shell UNIX in a Nutshell: System V Edition Next: 5. The C Shell
4.8 Invoking the Shell Book Index 5. The C Shell

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System