LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2010, 07:48 AM   #1
mutav
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 ?

Thanks.
 
Old 01-23-2010, 08:12 AM   #2
voyciz
Member
 
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
 
  


Reply

Tags
allow, ppp, slackware, users



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 08:35 AM
ppp dialup problem for users gescom Slackware 6 08-05-2004 10:51 AM
ppp connection aps_rewa Linux - Networking 0 05-20-2004 04:39 AM
ppp connection help LUXX Linux - Newbie 4 11-14-2003 01:06 AM
International Slack users and ppp jymbo Slackware 0 03-20-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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