LinuxQuestions.org
Review your favorite Linux distribution.
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 12-17-2005, 03:36 PM   #1
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
bash 'net connection via wvdial through non-root user


When I try to run wvdial to get online through the shell, I get a message saying device is busy. I know it works in root (I connected then disconnected to see if it was a problem with the shell and card not working well together), so what could I do to work with this to allow net connection through shell?

SuSe 9.3 pro w/ updates
Win XP, updated
80 gb hdd
P4 2.53 GHz
US Robotics hardware dialup card
 
Old 12-17-2005, 05:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm not sure where the device busy message would fit into things, but you may need to set the wvdial bianry suid root (chmod u+s `which wvdial`) this way if someone runs wvdial, the system will think root is running it, and act accordingly. suid is not somethign that should be used too often or without good reason, but is very sueful for situations like this. You might also want to run it via sudo.
 
Old 12-17-2005, 05:31 PM   #3
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Original Poster
Rep: Reputation: Disabled
I'll look into that, only question is: Would that leave a security gap in the system? If something is being run as root, wouldn't that give someone a chance to slip into my system, or would it end the wvdial and leave my net running?
 
  


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
Root user check in bash script doesn't work tawalker Programming 6 12-18-2011 03:06 AM
connect wvdial as non-root user? cdhgee Linux - Software 4 08-01-2005 02:37 AM
ADSL Connection as user, not root ratbiter Linux - Newbie 2 02-07-2004 11:29 AM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM
Help! Mandrake 9.1 user with net connection problems. KiLLaWaBBiT Linux - Software 9 04-02-2003 12:42 PM

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

All times are GMT -5. The time now is 04:07 AM.

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