On Thu, 2005-02-10 at 15:04 +1300, Andrew Errington wrote:
> So, yes, there are two groups involved in Debian- 'dialout' allows
> access 
> to the serial ports and 'dip' allows access to /usr/bin/kppp but even
> with 
> 'user' as a member of both groups dialling up will not work- kppp
> fails 
> because it cannot start pppd, because pppd cannot write to the logs.
> 

I find that difficult to understand. I can write to logs via sysklogd on
my system, as a user, using the bash logger command (try it:

[EMAIL PROTECTED] nick $ logger "this is a message from nick"

[EMAIL PROTECTED] nick $ sudo tail /var/log/messages -n 2
Password:

Feb 10 17:20:48 sf nick: this is a message from nick
Feb 10 17:20:59 sf sudo:     nick : TTY=pts/1 ; PWD=/home/nick ;
USER=root ; COMMAND=/usr/bin/tail /var/log/messages)

interestingly my gentoo /etc/syslog.conf claims to have been cribbed
from debian :)

Thinking about it, it would be odd indeed if you had to be root to log
anything in linux, or else every process that wanted to log would need
to run as root, and one of the aims of security management is for
daemons to NOT run as root.

I find nothing in man pppd that says pppd needs to run as root in order
to log anything.

maybe some strace'ing will help?


> I can put everything back as it was and put the exact errors here.
-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to