[Avcheck] Readme.avp
Michael Tokarev
mjt@tls.msk.ru
Sat, 27 Jul 2002 18:34:50 +0400
Michael Tokarev wrote:
[]
> I think it's sufficient to add similar listing (as above) to some
> README files to serve as an example, and this shuld solve this
> issue. Please correct me if I'm wrong here (until it's too late... ;)
Something like this:
--- cut ---
Then, create directories where all the AVP stuff will be placed (assuming
your current umask is 0755), and setup device entries needed for kavdaemon:
mkdir /var/spool/avp
cd /var/spool/avp
mkdir bases ctl tst tmp dev proc
chown avdaemon:avgroup ctl
chown avclient:avgroup tst
chown avdaemon tmp
chmod 750 tst ctl
chmod 700 tmp
cp -a /dev/null /dev/console dev/
Example of directory listing on a linux machine:
drwxr-xr-x 9 root root 1024 May 10 12:03 ./
-rw-r--r-- 1 root root 117 May 10 11:51 AvpUnix.ini
-rw-r--r-- 1 root root 737 May 10 11:34 AvpUnix.key
drwxr-xr-x 2 root root 1024 May 10 11:44 bases/
drwxr-x--- 2 avpd avgroup 1024 May 22 19:55 ctl/
-rw-r--r-- 1 root root 1880 May 10 12:03 defUnix.prf
-rwxr-xr-x 1 root root 4124 May 10 12:00 infected*
-rwxr-xr-x 1 root root 750008 Apr 23 12:33 kavdaemon*
drwxr-xr-x 2 root root 1024 May 10 11:42 proc/
drwx------ 2 avdaemon root 1024 May 10 11:42 tmp/
drwxr-x--- 2 avclient avgroup 1024 May 10 12:25 tst/
drwxr-xr-x 2 root root 1024 May 10 11:42 dev/
crw------- 1 root root 5, 1 Apr 30 13:01 dev/console
crw-rw-rw- 1 root root 1, 3 Aug 14 2000 dev/null
drwxr-xr-x 2 root root 1024 May 10 11:52 etc/
-rw-r--r-- 1 root root 815 Feb 2 2000 etc/localtime
--- cut ---
I hope this variant will be more useful. (BTW, dev/console
entry is of no use here: kavdaemon can't open it for writing
anyway ;).
/mjt