kppp [was Re: Wvdial and mysterious /dev/ttyS0 permission change]
On 8. December 2003 at 7:17PM +0100,
Andreas Janssen <andreas.janssen@bigfoot.com> wrote:
> csj (<csj@zapo.net>) wrote:
>
> > On 7. December 2003 at 10:52PM +0100,
> > Andreas Janssen <andreas.janssen@bigfoot.com> wrote:
> >
> >> You can of course use predefined connections with pon/poff if
> >> you are in the dip group, and you can create your own ones for
> >> use with kppp /without/ kppp being suid root, if you are in the
> >> dialout group.
> >
> > It's the "predefined" part that's the problem. Let's say I'm on
> > vacation and my friend borrows my computer. He reads about a
> > promo from Dirt-Cheap-ISP and decides to subscribe. How is he
> > going to enter his login details, without going root, to connect
> > to Dirt-Cheap-ISP? It seems his only choice is kppp, which needs
> > to be suid root to make it user configurable.
>
> No, again: kppp /does/ /not/ have to be suid root. I use kppp to dial in
> using login and passwort defined within kppp, and it is not suid root:
>
> andreas@sirius:~$ ll /usr/bin/kppp
> -rwxr-sr-- 1 root dip 405k 11. Sep 13:48 /usr/bin/kppp
>
> I am member of the dip and dialout groups, and it works.
Yes, it seems it's now setgid. When I last used it, I had to
resort to the setuid hack.
But I can't get it to work out of the box (or out of the package
;-). To be sure, I never bothered doing any root-level
configuration (inasmuch as I see the goal of Gnome and KDE to be
idiot friendliness). All I inputed are my login name and
password. kppp doesn't even get to the point where the modem
starts making its signature noise. I assume I have the right
permissions, since I can use minicom, efax and pon and friends
without any problems.
Are you sure you didn't modify anything under /etc/{ppp,chatscripts}?
Reply to: