LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2000, 01:03 AM   #1
chin
LQ Newbie
 
Registered: Oct 2000
Posts: 2

Rep: Reputation: 0
Unhappy


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!
 
Old 10-16-2000, 09:10 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why must I sign on as root before using KPPP dialup? jawq Linux - Newbie 4 06-11-2005 10:37 AM
Full dialup and DNS ok as root, user can only ping the ISP, permission? Emmanuel_uk Linux - Newbie 7 04-27-2005 01:37 PM
linux dialup faster and more stable than windows dialup -why? whitshade Linux - Networking 4 06-19-2004 03:52 PM
SuSE 9, Root-Only Dialup? Prognosis Linux - Networking 0 03-02-2004 08:36 AM
Why to use KDE dialup I have to be ROOT? R2RO Linux - General 2 07-27-2002 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration