Jason Lenthe on Thu, 3 Jun 1999 11:03:16 -0400 (EDT) |
The best way is just to do step 6, and skip the others. In a multiuser, system this lets you control who can use ppp and who can't. For a single user home system, I guess it doesn't really matter if you leave the executables open for everyone to execute, but using the groups is the way to go in my opinion! Jason At 11:19 AM 6/3/99 -0400, you wrote: >I had the exact same setup and the exact same problem. I just fixed it, and >here's what I did (note that not all these steps may be necessary): > >1) chmod o+x /etc/ppp [Lets you read scripts in /etc/ppp] >2) chmod o+x /etc/ppp/peers [Ditto for /etc/ppp/peers] >3) chmod o+r /etc/ppp/peers/provider [Makes provider script readable by >anyone] >4) chmod o+x /etc/chatscripts >5) chmod o+r /etc/chatscripts/provider >6) added my username to adm, dip and dialout groups in /etc/groups [not sure >this was necessary] > >Now all I have to do is figure out how to get TkDesk to stop prompting me >for a phone number (we have to use ten-digit dialing, and TkDesk gives me an >arith overflow when I specify the phone number!) and I'll be all set. > >Now on to IP masquerading...and sendmail...and fetchmail...and Apache...then >maybe INN... > >Cheers! >-- Tracy Nelson >-----Original Message----- >From: Chuck Peters <cp@linux.ccil.org> >To: plug@lists.nothinbut.net <plug@lists.nothinbut.net> >Date: Thursday, June 03, 1999 04:56 >Subject: Re: [Plug] PPP problems with Debian > > >>On Wed, 2 Jun 1999, Chris Fearnley wrote: >> >>> On Wed, Jun 02, 1999 at 09:25:33PM -0500, Morgan Wajda-Levie wrote: >>> > I've gotten my ppp connection set up perfectly with Debian, except >>> > that I can't figure out how to use it without having root access. >>> > pppd is suid, I've given read permission to the dialup scripts, rw to >>> > the ttyS1, and still, all pppd does is exit when I run pon. This is >>> > not a problem from root. >>> > >>> > I'm running 2.1, with pppd 2.3.5. Thanks in advance. >>> >>> You need to add your non-root login name to group dip and probably >>> group dialout as well. See vigr(8). >> >>You might want to add them to the adm group so they can run plog -f to >>watch it connect. >> >>Chuck >> >> >>_______________________________________________ >>Plug maillist - Plug@lists.nothinbut.net >>http://lists.nothinbut.net/mail/listinfo/plug > > >_______________________________________________ >Plug maillist - Plug@lists.nothinbut.net >http://lists.nothinbut.net/mail/listinfo/plug _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|