LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using dialup for non-root A/C (https://www.linuxquestions.org/questions/linux-newbie-8/using-dialup-for-non-root-a-c-169/)

chin 10-16-2000 01:03 AM

I setup my dialup and use root for connecting to Internet. But it should be unencourage to do this. Thus, I setup another account to do this but with an error of "no privilege". I use "kppp" to setup a connection. Where can I find and how assigning the privilege to the account for dialup connection? Many thanks for your help!

jeremy 10-16-2000 09:10 AM

The first thing to do is make sure that pppd is setuid root. This means that no matter what user executes pppd it will run as root. If you type "ls -l /usr/sbin/pppd" you should see something like
Code:

-rwsr-xr-x  1 root    root        95225 Jul 11 00:27 /usr/sbin/pppd
If it is not setuid root type the following command (as root):
Code:

chmod u+s /usr/sbin/pppd
Also, I THINK kppp uses an access file (/etc/kppp.allow if I recall correctly). Make sure the username you are trying to dial in as is in this file.


All times are GMT -5. The time now is 07:24 AM.