Is there anyway to connect to the internet without root privilages?
Is there anyway to connect to the internet without root privilages?
I have Mandrake 10.1 official which connects to ppp0 via a little systray icon, but it forces you to enter the root password each time. Surely, this shouldn't be necessary just to connect to the internet? |
"Is there anyway to connect to the internet without root privilages?"
If you are using wvdial here is how to allow a user dialout. http://www.electronicschat.org/nonroot-dialout/ Here are the commands to allow user to dial out with wvdial which works on SuSE. You might have to modify the filenames to get it to work on Mandrake. Also your modem may not be on ttyS1. chown root:dialout /dev/ttyS1 chmod 660 /dev/ttyS1 chown root:dialout /dev/modem chown root:dialout /etc/wvdial.conf chmod 660 /etc/wvdial.conf chown root:dialout /etc/ppp/chap-secrets chmod 660 /etc/chap-secrets chown root:dialout /etc/ppp/pap-secrets chmod 660 /etc/pap-secrets chown root:dialout /etc/ppp/peers/wvdial chmod 660 /etc/ppp/peer/wvdial chmod u+s /usr/sbin/pppd If you are using kppp it is possible to set up a user as capable of dialing out by proper use of groups but it has been a while since I did that and I don't remember how I did it. http://gershwin.ens.fr/vdaniel/Doc-L...kppp.html#toc1 --------------------- Steve Stites |
Thanks for your answer, but the commads that Mandrake uses are /sbin/ifup, /sbin/ifdown
Is it just a matter of changing the privilages of these files? Would that cause any nasty side effects? |
All times are GMT -5. The time now is 06:14 PM. |