File: newshell

package info (click to toggle)
lshell 2.01-11
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 9
  • sloc: sh: 155; ansic: 141; makefile: 39
file content (17 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
To install a new lshell protected shell do the following:

1) Create a directory `lshells' in the directory where the shell resides.
2) In the newly created directory create a link to /usr/bin/lshell by using
   ln -sf /usr/bin/lshell <new shell name>.
3) Add this link to /etc/shells.

That's it.

For example if you want to use /usr/local/bin/sash as a login shell you have
to:

1) mkdir /usr/local/bin/lshells
2) ln -sf /usr/bin/lshell /usr/local/bin/lshells/sash
3) Add /usr/local/bin/lshells/sash to /etc/shells

Michael