LSH(1SH) COMMAND REFERENCE LSH(1SH)
NAME
lsh - limited shell
SYNOPSIS
lsh [ -acefhiknrstuvx ] [ arg ] ...
DESCRIPTION
Lsh is a limited version of sh(1sh).
While using lsh, the user may not use the commands cd or
chdir, reset the shell variables PATH and SHELL, or specify
any command name containing a `/'.
Upon starting a login shell, commands are read from the file
/etc/lsh.profile if it exists, and then from $HOME/.profile.
The system administrator should set up these files so that
they are not writeable by the user (and should therefore be
owned by root). The PATH variable should contain only
directories containing ``safe'' commands. It is recommended
that these commands be placed in /usr/lbin and only commands
which do not allow the user to start up a normal shell.
Options, examples, and other information may be found in the
manual page for sh(1sh).
FILES
$HOME/.profile This file is read and commands
contained in it executed when the
shell is called as `-lsh', usually
at login.
/tmp/sh* Temporary storage for storing
arguments to '<<'.
/etc/lsh.profile This file is read and commands
contained in it executed when the
shell is called as `lsh'.
SEE ALSO
break(1sh), cd(1sh), chdir(1sh), continue(1sh), echo(1sh),
eval(1sh), exec(1sh), exit(1sh), export(1sh), hash(1sh),
login(1), pwd(1sh), read(1sh), readonly(1sh), return(1sh),
set(1sh), shift(1sh), test(1sh), times(1sh), trap(1sh),
type(1sh), ulimit(1sh), umask(1sh), unset(1sh), wait(1sh),
which(1sh), execve(2).
Printed 10/17/86 1
%%index%%
na:72,55;
sy:127,207;
de:334,1042;
fi:1376,621;
se:1997,810;
%%index%%000000000094