From 59e15d2e4e7a2fbbf74f491f0264aff89cc51716 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 8 Sep 2003 09:50:58 +0000 Subject: [PATCH] Added note about creation of elog account and group SVN revision: 608 --- doc/adminguide.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/adminguide.html b/doc/adminguide.html index 7d1b4da0..759b48d2 100755 --- a/doc/adminguide.html +++ b/doc/adminguide.html @@ -70,6 +70,9 @@ To start the daemon automatically, enter: which will start the daemon on run levels 3,4 and 5 after the next reboot.

+Note that the RPM installation creates a user and group elog, under +which the daemon runs. +


Installation from the tarball:

@@ -92,9 +95,22 @@ The elogd executable can be started manually for testing wit

where the -p flag specifies the port. Without the -p flag, the server uses the standard WWW port 80. Note that ports below 1024 can -only be used if elogd is started a root, or the "sticky bit" is set on +only be used if elogd is started under root, or the "sticky bit" is set on the executable.

+When elogd is started under root, it attaches to the specified port +and tries to fall-back to a non-root account. This is necessary to avoid security problems. +It looks in the configuration file for the statements Usr and +Grp.. If found, elogd uses that user and goupe +name to run under. The names must of course be present on the system (usually +/etc/passwd and /etc/group). If the statements +Usr and Grp. are not present, elogd +tries user and group elog, then the default user and group (normally +nogroup and nobody). Care has to be taken +that elogd, when running under the specific user and group account, +has read and write access to the configuration file and logbook directories. Note that the +RPM installation automatically creates a user and group elog. +

If the program complains with something like "cannot bind to port...", it could be that the network is not started on the Linux box. This can be checked with the /sbin/ifconfig program, which must