Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-23-2010, 08:48 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 20

Rep: Reputation: 0
Allow users to start ppp connection

I can only start my internet connection from the root bash. If i type pppoe-start/pppoe-stop in my user's shell it just says "command not found".
Any way to permit the users to bring the ppp connection up and down ?

Old 01-23-2010, 09:12 AM   #2
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
You get a "command not found" because they would be in one of the sbin directories and not in a normal user's PATH. As root, type "which pppoe-start" and that'll tell you where the program is located, and you would type that full path as a normal user to reach it.

Probably the easiest way to allow normal users to do that sort of stuff would be to use visudo to edit your /etc/sudoers file and then you can either have them enter the root password each time, their own password, or no password at all. The man page for sudoers was a little confusing to me at first, so I would recommend a Google search about how to set it up. Then I would create an alias in the user's $HOME/.bashrc file, such as "alias connect='/sbin/pppoe-start' ", assuming the program is located in /sbin


allow, ppp, slackware, users

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
Logging PPP Users fantasygoat Linux - Server 2 10-23-2009 09:35 AM
ppp dialup problem for users gescom Slackware 6 08-05-2004 11:51 AM
ppp connection aps_rewa Linux - Networking 0 05-20-2004 05:39 AM
ppp connection help LUXX Linux - Newbie 4 11-14-2003 02:06 AM
International Slack users and ppp jymbo Slackware 0 03-20-2003 01:50 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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