[Techtalk] Using kppp etc. as a user

David Sumbler david at aeolia.co.uk
Tue Feb 21 11:04:59 EST 2006

"Linda Y. Kuo" <illini.engineer at att.net> writes:

>> After a struggle, I have managed to get my winmodem working under both
>> Fedora 4 and Ubuntu 5.10. I don't actually need the modem since I
>> have a broadband connection, but I wanted to learn how to go about
>> setting up a winmodem so that I can eventually install a useful Ubuntu
>> system on a computer for a friend who does not have broadband.
>> However, I haven't yet managed to work out how to get either kppp (in
>> Fedora) or the Gnome dialer (in Ubuntu) to function without su-ing or
>> sudo-ing. In Fedora I tried setting the setuid bit on /usr/bin/kppp
>> (which is a link to /usr/bin/consolehelper), but this only caused kppp
>> to fail when I tried to launch it, instead of asking for the root
>> password. When, as an alternative, I set setuid on /usr/sbin/kppp, I
>> still had to give the root password.
>> What I should like to do, eventually, is to be able to get the dialler
>> to connect automatically whenever a connection is needed, e.g. when
>> launching Firefox, and certainly without having to give a password.
>> Can someone give me some idea how to achieve this, please?
>> David
>> -- 
>> david at aeolia.co.uk
> I have RH8 installed on my Thinkpad.
> This is what I did -->
> =====
> The solution was a change to the file /etc/pam.d/kppp
> I first changed
>  auth required /lib/security/pam_stack.so service=system-
> auth
> to
>  auth sufficient /lib/security/pam_stack.so service=system-
> auth
> that did not work, but I left the change in anyway
> I then added
>  auth sufficient /lib/security/pam_console.so
> to the file
> =====
> Maybe this will work for you.

I've just made the change to the pam_console.so entry, without the
pam_stack.so change, and it has done the trick.  I don't understand
pam, so I don't pretend to know why this works, but thanks a lot, all
the same!



david at aeolia.co.uk

More information about the Techtalk mailing list