LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2003, 08:18 PM   #1
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Rep: Reputation: 15
wvdial and permissions...again


I searched, and I changed permissions using chmod 777 on wvdial.conf and ppp and /dev/ttyS0 and set my permissions in /etc/group, but I STILL can't seem to log on through the command line or stoooooopid modem lights applet using wvdial. It connects me, then gives me the ol' exit 3 root permissions error.

I am using an external conexant modem (creative) and SuSE 8.2. I'm a little mystified by some of the other explanations I saw, because I'm essentially a newb, so go easy on me.

shoe

edit: I can get in through kinternet... but modem lights is cooler, and I like gnome... Sorry if this is missing some vital info... I've had a long day. I'll post more if necessary...

Last edited by hindenbergbaby; 10-29-2003 at 08:41 PM.
 
Old 10-29-2003, 09:41 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
I had such a problem and I 'suid root'-ed the wvdial executable: chmod +s wvdial.
Now wvdial works. Though I am not very happy with this suid solution. I am also interested if anyone has a better workaround here.

By the way, if you set the suid bit of wvdial, make sure to remove its unnecessary and dangerous write permissions for users other than root: chmod go-w wvdial.

Last edited by J_Szucs; 10-29-2003 at 09:46 PM.
 
Old 10-30-2003, 08:52 AM   #3
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
I found this page to be helpful (finally)
http://www.electronicschat.org/nonro...ut/wvdial.html

I still think I might have some screwy settings, because I was messing around and I don't know what I'm doing really, but now I can connect non-root.

shoe
 
Old 10-30-2003, 09:26 AM   #4
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
So far as I know this IS suid, right? I think this might be the only way to do it wvdial. I've seen some bad things about wvdial in this respect.

shoe
 
Old 10-30-2003, 09:39 AM   #5
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
So far as I know this IS suid, right? I think this might be the only way to do it wvdial. I've seen some bad things about wvdial in this respect.

shoe

BTW, I did the chmod go-w wvdial

Is there I way I can set it so wvdialconf is not writable, but I can still get online through a user? I seem to keep disabling wvdial.conf when I try this...

shoe

Last edited by hindenbergbaby; 10-30-2003 at 09:40 AM.
 
Old 10-30-2003, 06:54 PM   #6
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
My wvdial.conf is only writeable by root, and it works well.
 
  


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
WvDial Streams Linux - Software 6 12-30-2006 05:25 PM
using wvdial jerry_popperq Linux - Newbie 1 08-23-2005 06:56 AM
wvdial in 10.1 WilliamS Slackware 13 03-15-2005 11:36 AM
wvdial help Johnsernickle Linux - Newbie 2 10-05-2002 10:49 AM
wvdial pir2 Linux - Networking 2 06-20-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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