LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-07-2007, 03:36 PM   #1
devnu11
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
root

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, 04:18 PM   #2
Samotnik
Member
 
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, 04:30 PM   #3
devnu11
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?
 
  


Reply


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


All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration