faq
search
add article
cool-stuff
how-to
main
tips
parent
|
Re: HOWTO : Setup KPPP to Dialup as Normal User
by Azureash on Tuesday February 11, @07:37PM
|
This article doesn't address the most frequent issue with using kppp as a non-root user, which is PAM. The problem is that KDE is launching kppp through something called consolehelper, which is a PAM application (Pluggable Authentication Module, errr..something.) To fix this:
1) Open /etc/pam.d/kppp (the kppp PAM conf file.) You should see a line (often on line 4 on RH installs) that reads:
auth required /lib/security/pam_stack.so service=system-auth
2) Change "required" to "sufficient".
3) Save and close the file.
Voila! Any user can now use kppp, without being prompted for the root password.
Note: If you still want to place some limits on who uses kppp, create an /etc/kppp.allow file (if one doesn't already exists) and put the names of the users you want to access kppp in it.
Sample:
# /etc/kppp.allow
# comment lines like this are ignored
# as well as empty lines
sally
fred
In closing, I'd say that PAM is a cool program, but was the WRONG choice for launching kppp... |
|
|