PDA

View Full Version : [ubuntu] [SOLVED] New Installation - Permissions problems



CarolinaGuy
November 11th, 2008, 09:59 PM
Newbie needs HELP

I’m new to Linux. I am attempting to set up a Home file server based on the article entitled "Simple Home File Server (Based on Ubuntu)" found at --- http://www.howtoforge.com/ubuntu-home-fileserver.


I have ubuntu 7.10 server edition installed.

It boots find, I enter my name for the user account (charlie) and my password. Everything's find. Next I enter the command “su” and go to root, it requests my password and I enter the password for root.

Now I am at:
root@ubuntu: /home/charlie#

I enter /etc/network/interfaces to edit the network and configure a static IP address.

It returns:

bash: /etc/network/interfaces. Permission denied.

I don’t understand when I’m the only user on the computer and I’m at root why I getting permission denied. And since I’m completely new to UBUNTU and don’t have a clue; can someone suggests a remedy for this problem.

THANKS in advance for time and helping me with this problem

CarolinaGuy

taurus
November 11th, 2008, 10:01 PM
If you want to change to that directory, you need to put cd in front of the path.


cd /etc/network/interfaces
Without the cd, the system thinks that you want to execute /etc/network/interfaces which you can't since it's a directory. That's why you get that error message.

SunnyRabbiera
November 11th, 2008, 10:02 PM
you may also need the sudo command, sudo is what takes you under full administration mode.
By default Ubuntu doesnt use root, so any commands you may get for that will not be applicable.
If a guide says use su substitute it with sudo.

bodhi.zazen
November 11th, 2008, 10:07 PM
First you should probably use sudo rather then root.

Second, you need to use an editor.

Try


sudo nano /etc/network/interfaces

community/RootSudo

I understand security is a double edged sword, it is frustrating sometimes. I think the average time to crack a default Windows XP install once it hits the internet is less then 5 minutes, so I guess it is probably worth the effort to learn to enhance your security :)

See if this link helps : Ubuntu Security - Ubuntu Forums (http://ubuntuforums.org/showthread.php?t=510812)

bodhi.zazen
November 11th, 2008, 10:09 PM
bodhi@hardy: cd /etc/network/interfaces
cd: not a directory: /etc/network/interfaces

:rolleyes:

CarolinaGuy
November 11th, 2008, 10:36 PM
My THANKS to a great & helpful community. I continuing with the installation of data, updates and setting up the SAMBA server.

Again MY THANKS to all who responded.

CarolinaGuy