LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-20-2003, 04:53 PM   #1
mrogerf
LQ Newbie
 
Registered: Jul 2003
Location: Brazil
Distribution: Archlinux
Posts: 20

Rep: Reputation: 0
Question How to use Kppp as a normal user


I use Debian Sid (kernel 2.4.21) and I would like to use Kppp as a normal user (until now I just can use wvdial or pon/poff as root).

Does anyone have a tip ?

Thanks
 
Old 08-21-2003, 07:58 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Yep, use sudo

apt-get install sudo

man sudo man visudo and http://www.sudo.ws/sudo/ for more info about configuring it.
 
Old 08-25-2003, 09:38 PM   #3
penguin_warrior
Member
 
Registered: Aug 2003
Location: canada
Distribution: debian based distros
Posts: 52

Rep: Reputation: 15
pppconfig

as root, do from console
pppconfig
go to change connection
then go to your provider.
then advanced options
then add-user
then type in the name of the user you want to be able to use kppp.
remember to go back to return to previous menu (at bottom)
and then go to Finished (save changes).

Hope this works for you.
 
Old 08-25-2003, 09:46 PM   #4
penguin_warrior
Member
 
Registered: Aug 2003
Location: canada
Distribution: debian based distros
Posts: 52

Rep: Reputation: 15
using Sid

by the way, welcome to Sid.... is it not cool.
I find that debian unstable is more stable than windblows 95/98 (having even touched XP...don't want that XPerience, thank you).

the only problem with unstable that i have found is that one version of Mozilla took 20 minutes to start up. upgraded the next day and it was fixed. soooo cool.

haven't tried testing, but i found that kde in unstable is actually more stable than kde in stable. huh!
 
Old 08-26-2003, 12:44 AM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Also, you may want to edit /etc/group and add your username to any (all) the groups you want. This will save you a lot of general su-ing.

On the subject of mozilla, what's the deal with debian retracting version 1.3 from testing? It used to go stable:1.0 testing 1.3 unstable: 1.4. Now they reverted testing back to 1.0!!!!! Bloody ancient. Forced me to use opera. Not that that's a bad thing, mind you. Annoying, though.
 
Old 08-27-2003, 07:47 PM   #6
mrogerf
LQ Newbie
 
Registered: Jul 2003
Location: Brazil
Distribution: Archlinux
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks a lot for your help. I could learn a bit more about Debian (and Linux) :-) , however I have some difficulties yet.

Well, I did what penguin-warrior said and, as adz told, checked the /etc/group. My user mrogerf is part of the group dip as you can see in the line copied from /etc/group:

"dip:!:30:mrogerf"

However when I type pon I got the message:
"/usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not setuid-root"

I looked at the /usr/sbin/pppd ( ls -la) and I think that everyone could run this command:
-rwxr-xr-x 1 root dip 234504 ..... /usr/sbin/pppd

What's the meaning of this error message (especially "setuid-root") ? How can I solve this ?
 
Old 08-28-2003, 05:48 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
When you installed it, I believe a dialog would have flashed up asking whether to setuid root. When something is setuid root it means that all users (or a particular group) can run it with root priveliges. Hmmm... not sure about the prob there. There's another group called "dialout". That may help you out a bit although pppd belongs to the dip group.

One thing you can do is change the permissions on pppd. Mine are:

-rwsr-xr-- 1 root dip 234504 Nov 24 2002 pppd

Last edited by adz; 08-28-2003 at 05:51 AM.
 
Old 08-28-2003, 08:06 PM   #8
mrogerf
LQ Newbie
 
Registered: Jul 2003
Location: Brazil
Distribution: Archlinux
Posts: 20

Original Poster
Rep: Reputation: 0
Now I got some progress.
I chage the permition on my pppd like yours adz and now pon and poff works a normal user :-) . Thanks a lot !!!
I still have some problems runing Kppp, but I will try some things, and if I will not succed I will ask for help again.
Until there, thanks for everyone who expent a time helping me :-)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
normal user Kppp permissions damn you sarge! baird Debian 2 04-18-2005 10:16 PM
Using kppp with a normal user... titogo Slackware 2 08-12-2004 09:33 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
sometime kppp locked my keyboard on normal user demmylls Linux - General 2 12-26-2003 01:17 AM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration