Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 23:37:02 -0400 (EDT)
From:      Ken Seggerman <suleyman@echonyc.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: user PPP only works for root
Message-ID:  <Pine.GSO.4.10.9909012330110.21398-100000@echonyc.com>
In-Reply-To: <19990901181345.C283@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for replying to me:

> 
> Add ``allow user <your_user_name>'' or ``allow user *'' for everyone
> to /etc/ppp/ppp.conf and add <your_user_name> (and anyone elses)
> to the group ``network'' then you can run ppp as a non-root user.
> 
I have followed your instructions but it still does not work.

I hadn't added my regular username  to the network group, but now I have,
and rebooted of course.

$ groups 
suleyman wheel network

/etc/ppp/ppp.conf

default:
 allow user suleyman
 set speed 115200
 set device /dev/cuaa0

permisssions are as follows:

$ ls -al /usr/sbin/ppp
-r-xr-x---  1 root  network  195228 Feb 15  1999 /usr/sbin/ppp


$ ls -al /dev/tun0
cr-xr-x---  1 uucp  dialer   52,   0 Sep  1 23:13 /dev/tun0

$ ls -al /dev/cuaa0$ ppp
cr-xr-x---  1 uucp  dialer   28, 128 Sep  1 23:13 /dev/cuaa0

still no ppp unless I su

$ ppp
Working in interactive mode
Warning: No available tunnel devices found (Permission denied).
Warning: bundle_Create: No such file or directory

$ su
Password:
ashram# ppp
Working in interactive mode
Using interface: tun0
ppp ON ashram> 




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?Pine.GSO.4.10.9909012330110.21398-100000>