LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kppp password protection (https://www.linuxquestions.org/questions/linux-software-2/kppp-password-protection-598751/)

bong.mau 11-11-2007 05:28 AM

kppp password protection
 
Hi
Env Mandrake 10.1
i' m able to connect to internet with my 56kb modem,using kppp as connetion program...
PRB: editing the file kppprc i can clearly see the connetion passwrod,and this is not good because kppprc is located in the .kde/share/config/ subdirectory of my home main direcotry...
so changing the owner of the file too root and changing permissions does not permit to logon anymore ...
i temporary bypassed the problem digiting any time i connect the password..
i tryed to add username and passwrod
to /etc/ppp/pap-secrets and name to
/etc/ppp/options ,but in this way i'm unable to connect...


any one has tried to implement kppp & pap-secrets ?


thanks in advance

Maurizio

/bin/bash 11-11-2007 08:31 AM

What you do is set pppd SUID:
# chown root.root /sbin/pppd
# chmod u+s /sbin/pppd
Then you can set your pap-secrets file so only root can read it.
# chmod go-r /etc/ppp/pap-secrets
There is a pretty good explanation HERE.


All times are GMT -5. The time now is 10:59 PM.