Linux-Noob Forums
Access denied in root - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html)
+--- Forum: Ubuntu (https://www.linux-noob.com/forums/forum-99.html)
+--- Thread: Access denied in root (/thread-2401.html)



Access denied in root - gus - 2005-09-29


;) hi, im running Ubuntu Hoary 5.04.

I'm try to set up a webserver

after loging in as root and i type

/etc/network/interfaces

to set up a static ip instead of DHCP

 

after that it repeats what i typed fallowed by Access Denied [img]<___base_url___>/uploads/emoticons/default_mad.gif[/img]

 

anywho if anyone can tell me what i have done wrong i would be thankful.

good times B)




Access denied in root - anyweb - 2005-09-29


this doesnt make sense

 

are you cd'ing to the directory or trying to use vi to edit a file in there ?




Access denied in root - gus - 2005-09-29


Quote:this doesnt make sense 

are you cd'ing to the directory or trying to use vi to edit a file in there ?



 

"this was taken from the how to im reading"

(real noob here)

 

 

2 Installing And Configuring The Rest Of The System

 

Enable root user

 

Now I can login with the username and password I entered above. First I enable the root user for ease of installation. You can disable it later if you want.

 

sudo passwd root

su

 

Now we are logged in as root user.

 

 

Configure The Network

 

Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100):

 

 

here is the address [/url][url=http://www.howtoforge.com/perfect_setup_ubuntu_5.04_p3]http://www.howtoforge.com/perfect_setup_ubuntu_5.04_p3




Access denied in root - znx - 2005-09-29


Quote:Edit /etc/network/interfaces
 

Sounds like you were attempting to execute it..

 



Code:
nano /etc/network/interfaces




 

then

 



Code:
/etc/init.d/networking start




 

(or restart if its already running)




Access denied in root - gus - 2005-09-30


:) got it

Thank You

gus