Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2004, 06:57 PM   #1
LQ Newbie
Registered: Feb 2004
Location: Australia
Posts: 6

Rep: Reputation: 0
user permissions for internet access

Hi guys. Heres hoping someone can point me in the right direction.

Im a first time poster with 2 questions that werent quite answered in other threads ive looked at.

Ive recently installed redhat 9. I have a little experience with linux as a user, in that i can poke about within my own directories, change permissions on MY files, basic stuff like that, but ive had ZERO experience as 'root'.

firstly (and less importantly i guess) when im logged in as a user, is there any way i can log in as root in terminal?
every time i just try 'login' and put in root as username and the password, it wont let me.

secondly, and the main question is....
Ive got an ADSL internet account, and i used the 'adsl-setup' command in terminal to get it all sorted out.
during the setup there was a question along the lines of 'do you want to allow users to connect to the net?" to which i answered yes.

as root, the net works fine, adsl-start/stop does what its supposed to and everythings great.
but when im logged in as a user and i try 'adsl-start' it says 'command not found'. infact none of the 'adsl-.......' commands are found.

im assuming theyre tucked away in a place that 'user' doesnt have access too, but clearly root does.

oh, and thirdly, a possibly stupid question, that i suspect i know the answer to anyway.
being that im just using redhat at home, on my pc, just like windows or anything, im the only user, and im not actually administrating anything, would it be a stupid idea just to use the 'root' account all the time?

Thanks in advance!
Old 02-11-2004, 07:14 PM   #2
mike L
Registered: May 2001
Distribution: SuSE 10 (SLED)
Posts: 30

Rep: Reputation: 15
to get root from a terminal type
su -
then it will ask for roots password

sorry I can't help on the ADSL question, but I'm sure someone will be along with an answer

you could run as root but it's not very wise especially being so new to linux you could find yourself doing alot of fixing or reinstalling the OS, also not very good from a security standpoint.
Old 02-11-2004, 08:53 PM   #3
LQ Newbie
Registered: Feb 2004
Location: Australia
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the info mike.

i still cant 'legitimatly' log on to the net as 'user', but i can atleast log onto redhat as 'user', then switch to root in terminal, and connect it up through there.

no doubt theres a better way than that, but hey, atleast i can get online now......

and i dont have to actually be online as 'root', which, as i suspected, seems like a not to good idea.
Old 02-12-2004, 03:37 AM   #4
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
ok can you do 'which adsl-start' from both root and user, and then tell me what does it say?


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
Chroot jail user can't access internet proximity Linux - Security 12 06-27-2007 03:52 PM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 06:49 PM
user kublador cannot access the internet but root can.. why? kublador Slackware 2 08-27-2004 11:04 PM
Internet access on root bot not on user Focalpoint Linux - Newbie 3 07-06-2004 11:33 AM
User Group for Restricting Internet Access kyleinc Linux - General 6 04-17-2004 06:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration