[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] httpd.conf locked?



Benedict:

How do I overwrite the httpd.conf (in etc/httpd/conf/)
after changing it manually ? Even when logged in as admin
I don't seem to have permission to do that.

This wasn't the case before OS 6.4 (a.f.a.i.k.)

It isn't that hard.

1) login as admin
2) su - (enter admin password)
	Your now ROOT
3) cd /etc/httpd/conf
4) ls -l
Look to the far left, you should see something like

-rw-r--r-- 1 root root

Or something very similar ... Look at the first set of three letters.  If it
says "-rw-" You can edit the file as root
if it says "-r--" you need to change the file permission of it

chmod 644 httpd.conf

then do the "ls -l" and you should see
-rw-r--r-- 1 root root

Now you can edit the file.

Brian Smith 
CCNA, NCSA
Network Support Engineer
SOLUSERVE
       www.solunet.com
1571 Robert J. Conlan Blvd., Suite 110
Palm Bay, FL  32905
(888)449-5766
fax: (321)-308-7986