Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

rsh — Restricted Shell

Synopsis

/usr/lib/rsh [-acefhiknprstuvx][argument...]

Description

The rsh command is a limiting version of the standard command interpreter sh. Use rsh to restrict logins to execution environments whose capabilities are more controlled than those of sh (see sh(1) for complete description and usage).

Note

Do not confuse the restricted shell, /usr/lib/rsh, with the remote shell, /usr/bin/rsh, which is documented in rsh(1).

When you invoke the shell, it scans the environment for the value of the environmental variable, SHELL. If it is found and rsh is the file-name part of its value, the shell becomes a restricted shell.

The actions of rsh are identical to those of sh, except that the following actions are not permitted. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book