PDA

View Full Version : ISP Ubuntu Server Permission error.


CombatGod
14th January 2006, 00:04
I'm on this page http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3

After setting up the root password I can't access the following directory:
/etc/network/interfaces

It says Permission Denied. Any suggestions? I'm new to Linux so go easy on me.

BTW I did set my root password. I did the following:
sudo passwd root

set my password

then:

su

now my command prompt looks like this:
root@server:/home/username# _

CombatGod
14th January 2006, 00:34
I'm sorry. The directions are not very clear.

http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3

All it says is to edit: /etc/network/interfaces
I thought I just had to run the command:
/etc/network/interfaces

However, I realized I had to use NANO to edit this.
Hopefully my assumption is correct :P

CombatGod
14th January 2006, 02:28
Yes consider my problem solved.

Nano is necessary in order to edit this file. The command is as follows:

nano /etc/network/interfaces

till
14th January 2006, 14:26
I'm sorry. The directions are not very clear.

http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3

All it says is to edit: /etc/network/interfaces
I thought I just had to run the command:
/etc/network/interfaces

However, I realized I had to use NANO to edit this.
Hopefully my assumption is correct :P

Yes, if the howto says "edit" a file, you always have to use an editor like vi, nano or joe to open the file and do the described changes.