Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wvdial as user....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sun Mar 14, 2004 8:14 pm    Post subject: wvdial as user.... Reply with quote

For using wvdial to user : do

Code:
emerge sudoers


after
take out put of #which wvdial (it give me /usr/bin/wvdial)

Code:
echo "%users ALL=(ALL) NOPASSWD: /usr/bin/wvdial" >> /etc/sudoers

for NOPASSWD: /usr/bin/wvdial write output of #which wvdial i mean if it give me /bin/wvdial i write NOPASSWD: /bin/wvdial etc...

and after write
Code:
sudo wvdial

and you are connect to internet :)

or if you don't liike to write sudo wvdial everytime do
Code:
cd ~
nano -w inwv

and write

Code:
#!/bin/bash
sudo wvdial

after as root write
Code:
chmod 755 inwv
cp inwv /bin/

after you write
Code:
#inwv
as user you are on internet.... :D
Back to top
View user's profile Send private message
Yopy
n00b
n00b


Joined: 29 Aug 2003
Posts: 20
Location: Toulon, France

PostPosted: Sun Mar 14, 2004 10:19 pm    Post subject: Reply with quote

May I add that I already use wvdial as user but without sudo ? :wink:
You need the user to be part of the group dialout and uucp if I remember correctly.
But I must confess that it works (for me) only since two or three weeks :D. Maybe it's a recent bug correction or perhaps I'm just lucky :? )
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Mon Mar 15, 2004 8:12 pm    Post subject: Reply with quote

yes you can do without sudo but if you use sudo this is very easy than without :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum