LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2007, 03:31 AM   #1
landville
LQ Newbie
 
Registered: Nov 2007
Location: Philippines
Distribution: Slackware 12.0
Posts: 2

Rep: Reputation: 0
pppoe-start as user and not as root


hi.. i'm new to linux and i'm sorry if this question had been asked before.. i just want to ask, is it possible to run "pppoe-start" as a user and not as root?? i was just wondering what if i add another user with no root privileges or does not know the root password.. how can he or even i can connect to the internet without logging as a root.. thank you in advance..
 
Old 11-05-2007, 10:37 PM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
To allow non-root users, you can setup sudo so other users can run it. Or you can start the connection during boot (although that might not be what you want).

PS
On Ubuntu 6.06, the command is pon dsl-provider and that could be executed by any user (if I remember correctly, I'm now behind a router so don't need the command anymore).
 
Old 11-05-2007, 11:19 PM   #3
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 126

Rep: Reputation: 15
maybe you can 'chmod +s ' to the program ,to make it sticky!
so that you can run the program as a common user.but you must
care that everyone can run it maybe a securiyt problem in the future .
 
Old 11-06-2007, 08:24 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
That only works if the program is written with setuid functionality; but one can indeed give it a try.
 
Old 11-07-2007, 03:08 AM   #5
landville
LQ Newbie
 
Registered: Nov 2007
Location: Philippines
Distribution: Slackware 12.0
Posts: 2

Original Poster
Rep: Reputation: 0
hi.. thank you for your replies.. i was able to find a thread with the same question.. it was started by Janusz11 last 20050930.. check it out for another option..
 
  


Reply



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
Start a program for a user as root, with process belonging to user gnashley Programming 4 03-19-2007 01:58 PM
pppoe: pon dsl-provider as normal user (without root) sunpascal Linux - Newbie 3 02-13-2006 09:49 AM
pppoe-start as user Janusz11 Slackware 4 10-02-2005 07:57 AM
how to start x as user and not root? SharpyWarpy Fedora 5 06-22-2005 04:17 PM
I can start X with root but not with another user pewillette Linux - Newbie 4 04-21-2004 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 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