LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-27-2005, 11:05 AM   #1
captainfreedom
LQ Newbie
 
Registered: Mar 2004
Posts: 28

Rep: Reputation: 15
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?
 
Old 02-27-2005, 03:36 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"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
 
Old 02-28-2005, 11:59 AM   #3
captainfreedom
LQ Newbie
 
Registered: Mar 2004
Posts: 28

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 01:17 PM
root privilages cheech66 Linux - Newbie 7 05-31-2004 09:09 AM
Root User Privilages Jonlinuxuser Linux - Software 1 05-17-2004 07:58 PM
Only root can use and connect to the internet VerTiCal Linux - General 2 04-28-2004 07:25 PM
NTFS drive - no user privilages - root only jon_k Linux - Software 2 09-01-2003 06:28 AM


All times are GMT -5. The time now is 12:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration