Help answer threads with 0 replies.
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 09-07-2007, 04:36 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Can't write to /etc/sysconfig/network

I'm feeling like a newbie today so I'm posting in the newbie forum. I just picked up a value dedicated server with CentOS 5. I tried to edit /etc/sysconfig/network as root and I received "permission denied."

# whoami

The permissions on network:
# ls -l network
-rw-r--r-- 1 root root 65 Sep 6 12:16 network

# mount
/dev/hda3 on / type ext3 (rw,usrquota,grpquota)

Any ideas? I'm kind of stumped.
Old 09-07-2007, 05:18 PM   #2
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Check /etc/sysconfig/ directory permissions.
Old 09-07-2007, 05:30 PM   #3
LQ Newbie
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
drwxr-xr-x 11 root root 4096 Sep 7 08:34 sysconfig

When I run CentOS I'm usually running OpenVZ which means selinux is disabled. This server is not going to be running OpenVZ and at this time selinux is "enforced." Will that do it?


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
How do I edit /etc/sysconfig/network IPDreams Linux - Newbie 14 07-28-2005 08:32 PM
/etc/sysconfig/network does not exist! Lechium Linux - Newbie 1 06-21-2004 06:18 PM
Where is the SuSE 9.0 /etc/sysconfig/network file? hnash53 Linux - Networking 1 02-07-2004 04:54 PM
/etc/sysconfig/network reboot? PlatinumRik Linux - Newbie 3 05-21-2003 03:16 PM
/etc/sysconfig/network ssrikant Linux - Software 1 05-18-2003 04:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration