LinuxQuestions.org
Help answer threads with 0 replies.
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 11-08-2014, 03:42 AM   #1
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 176
Blog Entries: 1

Rep: Reputation: 7
How to get a standard user to run wvdial


Hello

I am currently having to login to konsole as root and initiate wvdial as I get a permission denied when executing as a standard user.

How can I get a standard users to execute wvdial? Do I just need to add the "x" permission to /usr/bin/wvdial

Thank you
Marios
 
Old 11-08-2014, 03:54 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,437

Rep: Reputation: 192Reputation: 192
The least secure (but easiest) way is to set the SUID bit with
Code:
sudo chmod u+s /usr/bin/wvdial
so that permissions look like
Code:
ls -l /usr/bin/wvdial
-rwsr-xr-x 1 root root 151464 Sep 28  2013 /usr/bin/wvdial
The better way is to assign a 'dialout' group, and give the required users permission to run wvdial as root as explained here:

https://wiki.archlinux.org/index.php/Wvdial

Last edited by ferrari; 11-08-2014 at 03:56 AM.
 
1 members found this post helpful.
Old 11-08-2014, 04:20 AM   #3
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 176
Blog Entries: 1

Original Poster
Rep: Reputation: 7
You are the man! Thank you.
 
  


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
[SOLVED] Can run wvdial as root but not as user aal Linux - Software 2 01-08-2011 07:57 PM
How can I get wvdial run form /etc/network/interfaces gandrusz Linux - Wireless Networking 1 12-29-2010 11:38 AM
How to get signal strength value from USB modem -which run under wvdial er.saurabh Linux - Wireless Networking 2 02-21-2010 02:43 PM
wvdial for user Zander Linux - Software 1 09-06-2003 08:47 PM
Can use wvdial as user Vlad_M Linux - Software 7 10-04-2002 08:42 AM


All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration