faq
search
add article
cool-stuff
how-to
main
tips
|
HOWTO : Setup KPPP to Dialup as Normal User |
 |
 |
 |
Posted by Santhosh Joseph on Wednesday November 21, @09:02PM
from the dept.
Allow specific users to use KPPP to dialup and connect to internet
I'am a great fan of KDE and especially the KPPP programme as it offers a nice range of features like Accounting, Pre-Connection/Post-Connection command execution etc.
Note : If you have setup firewall rules and or scripts to work with the command line ppp, do take the necessary precaution !
KPPP by default doesn't permit non-root users to connect to the internet. The plan is to setup a group of users and permit the users in the group to use KPPP. Here's how to do it :
1. Add a new group say, dialout :
pw groupadd dialout
2. Add users say, user1 to the group :
pw groupmod dialout -M user1
3. set the permissions :
chown root.dialout /usr/local/bin/kppp
chmod 4750 /usr/local/bin/kppp
4. Create a file /etc/kppp.allow and add users, (who are authorised to do the dialup; user1 in our case) one on each line. There's NO need to add root user here. You can use # for comments. Spaces are also allowed.
5. create a file /etc/ppp/options if not already present
That's all. Setup KPPP (modem port, username, password etc.) as user1, as you would as root and try connecting. You should now be able to use KPPP as user1.
Happy Browsing !
PS: Don't forget to post your comments.
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|