Connecting to net as a user won't work
For some reason, I can't connect to the internet when I'm logged in as a user. So I always have to log out and sign in as root. Then it works. This is the error message I get when I use KPPP when logged in as a user...
You do not have sufficient permission to run
Please make sure KPPP is owned by root and has the SUID bit set
Now, I'm new to Linux so I am completely lost as to what this says. ;) So how can I use KPPP signed in as user? I'm getting tired of constantly signing back and forth between the bloody accounts. :cry:
Oh yeah, I'm using openSUSE 10.2 if that helps anyone.
First, try running YaST2. There may be a ppp config program that will do this for you.
Second, locate the kppp program. It probably is somewhere in /opt/kde3/bin/ or /opt/kde3/sbin. Look at the long listing of it, i.e. "ls -l /opt/kde3/bin/kppp"
It will be owned by root. But look at the group owner of the file. It might by owned by "kppp". If so a member of the group kppp will be able to run the program.
Update: I googled on "suid" to refresh my memory on the chmod command to set the suid bit. I found out that the solution is to make yourself a member of the "dialout" group.
So setting the suid bit for the kppp program is probably not the correct thing to do, so I won't even post the third option.
I'm not at my Linux machine now so I wasn't able to locate the kppp and pppd programs and look at them.
another alternative which is use setuid method(not recommended if you share computer with other user),
chmod +s /opt/kde3/bin/kppp
so next time you will automatically run kppp as root.
Using the dialout group is a much better solution. You should never have to suid a program like kppp.
|All times are GMT -5. The time now is 12:20 PM.|