home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume22
/
bigb
/
part01
/
README
< prev
next >
Wrap
Text File
|
1991-09-13
|
3KB
|
96 lines
Bigb V.1
Matthew Paley
mtp@uk.ac.ukc
August 1991
This is a security daemon that checks for consecutive failures at any
terminal or by any user. It will only work on SCO Unix as it used the
additional security databases included in this version of Unix. It
uses around 0.3% of the CPU time and this can easily be reduced to under
0.1% by reducing the frequency of checks ( set in the configuration file ).
If you have gcc ( highly recommended ) then just changing the cc= line
in the makefile to cc=gcc is the only change required.
To compile just type 'make' - there should be no warnings, this should
produce a roughly 70K file called 'bigb'.
To install copy the setup file to /etc/default/bigb and modify it
to suit your system and preferences. Next create a directory called
/usr/lib/bigb, this directory contains files listing terminals/users
to be checked/ignored by the program. By default the 4 files are:
check_term Terminals to be checked
nocheck_term Terminals to be ignored
check_user Users to be checked
nocheck_user Users to be ignored
The format of these files is just a list of devices/user names, one per
line. The terminal devices should be as they appear in /dev but without
the /dev prefix, e.g. tty01 is a valid entry.
As an example, a check_user file could contain:
user1
user2
me
you
other
and the nocheck_user file could be:
user2
me
bin
sys
In this case the only users to be checked would be user1,you and other.
Both files need not exist, in general only one file will be needed, usually
the nocheck_* file.
This table shows what is done with the various combinations of check files:
\ nocheck_* | nonexistant | null | non null
+---------------+----------------+----------------+--------------
check_* : nonexistant | CHECK_NONE | CHECK_ALL | CHECK_EXCLUDE
: null | CHECK_NONE | CHECK_NONE | CHECK_NONE
: non null | CHECK_SPECIFIC | CHECK_SPECIFIC | SPECIFIC + EXCLUDE
Some CHECK_ routines are better than others so try to ensure the most
efficient combination of check/nocheck files.
CHECK_NONE Best ( well - quickest anyway :-)
CHECK_EXCLUDE
CHECK_SPECIFIC
SPECIFIC+EXCLUDE Worst - avoid if possible
Then install the executable wherever seems appropriate ensuring that it
will be mounted at boot time (/usr/bin is sensible). Make it set gid auth
with the following commands:
chown root /usr/bin/bigb
chgrp auth /usr/bin/bigb
chmod 2750 /usr/bin/bigb
To start the daemon automatically on boot add the line:
su root -c "/usr/bin/bigb"
to /etc/rc.d/8/userdef
To start it 'manually' just type '/usr/bin/bigb' - it should come
up with a message saying that it has started.
A manual page is supplied and to install this with the other manuals
rename it /usr/man/cat.ADM/bigb.ADM
and then pack /usr/man/cat.ADM/bigb.ADM
Hope you find it useful.
--
Matthew Paley, Space Science, Physics Lab, The University, Canterbury CT2 7NR
\|/ Phone: 0227 764000 ext 3834 Fax: 0227 762616
--*-- JANET: mtp@uk.ac.ukc Internet: mtp%uk.ac.ukc@nsfnet-relay.sun
/|\ STARLINK: KENT::MTP Postgrad working on LDEF MAP