Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lsh(1SH) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

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)



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), and execve(2).










Printed 5/12/88                                                 1





































































%%index%%
na:264,71;
sy:335,311;
de:646,1114;
fi:1760,518;
se:2278,843;
%%index%%000000000095

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026