geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


HOWTO : Setup KPPP to Dialup as Normal User
KDE 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.

Add Reply

If this is a genuine post please ignore this field:

Name
Email
Notify Notify me via email of responses to this message
Title
Comment
(Check those URLs! Don't forget the http://!)
Encoding
If none of the above mean anything to you, select 'Plain'!
Attachment
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
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.
  • "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]