Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 1999 18:04:56 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: rwhod permissions question, please
Message-ID:  <199911141704.SAA16588@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Stan Brown wrote in list.freebsd-questions:
 > 	Nov 14 10:07:54 koala.fas.com rwhod[135]: whod.brown: Permission denied
 > [...]
 > 	One other data point is that if I do an ruptime on koala, it does not
 > 	report statistics for brown.

Both problems are caused by the same thing.

make sure that the directory /var/rwho and all files in it
are writable by user "daemon" or group "daemon" (because
rwhod runs as user and group "daemon").  It should be
something like this:

drwxrwxr-x   2 bin     daemon  512 Nov 11 18:02 .
drwxr-xr-x  18 root    wheel   512 Dec 18  1998 ..
-rw-r--r--   1 daemon  daemon  300 Nov 14 18:00 whod.dorifer
-rw-r--r--   1 daemon  daemon   84 Nov 11 23:26 whod.kartanin
-rw-r--r--   1 daemon  daemon   84 Nov 14 18:02 whod.tekener

The directopry is writable by group daemon, and the files all
belong to user daemon (and are writable by it).

Also, make sure that rwhod is really running as "daemon".
The following command will tell you:   ps -aux | grep rwho

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911141704.SAA16588>