LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wvdial for user (https://www.linuxquestions.org/questions/linux-software-2/wvdial-for-user-90018/)

Zander 09-06-2003 07:20 PM

wvdial for user
 
Okay, I use a program called wvdial to connect to dial-up, but I can only run it by using su for root. I tried setting some permissions for the device, but it still says device can't be opened or is busy when I'm user. Is there some permissions for a device (my modem is /dev/ttyS4) or some work-around so I can dial as user? Thanks.

jailbait 09-06-2003 07:47 PM

The solution is to give user permission to use /dev/ttyS4 and /etc/wvdial.conf

The way that I suggest is:
Log in as root.

chmod 775 /dev/ttyS4
chmod 660 /etc/wvdial.conf

Either create a group called dialout which includes user or add user to dialout group if it already exists.

chown root dialout /dev/ttyS4
chown root dialout /etc/wvdial.conf

If you are using /dev/modem as a pointer to /dev/ttyS4 then:
chmod 770 /dev/modem
chown root dialout /dev/modem


All times are GMT -5. The time now is 05:43 PM.