Linux-Noob Forums

Full Version: Access denied in root
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

;) 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)


this doesnt make sense

 

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


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


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)


:) got it

Thank You

gus