Bug#322038: [Logcheck-devel] Bug#322038: logcheck: [manaul] logcheck should not be run as root => write it to manual

maximilian attems debian at sternwelten.at
Wed Aug 10 00:26:31 UTC 2005


On Tue, 09 Aug 2005, Jari Aalto wrote:

> It appears that logcheck(1) cannot be run as is. It dislays:
> 
>     # logcheck -l /var/log/syslog
>     logcheck should not be run as root. Use su to invoke logcheck:
>     su -s /bin/bash -c "/usr/sbin/logcheck [options]" logcheck
your assumption is highly questionable. it can be run, but need to be
invoked with it's own user right.
the logcheck manpage is not the place to explain sudo/su handling.
 
> Please add this to the manual page in new section "EXAMPLES" since the
> manual page would otherwise suggest that logcheck can be used
> directly as root.

ok we will indicate this fact.
 
--
maks






More information about the Logcheck-devel mailing list