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

Re: [cobalt-users] Can't edit httpd.conf file



Hi Reno,

> I am a newbie with both linux and Cobalt Raq so maybe this is an easy
> question but it is stopping me.

Everyone has been a newbie at one time. :-)

> I need to change the httpd.conf file but even though I am logged on as the
> admin I can't write the edited file. Permission is denied.

You need to be root to perform this task. You would type "su" (without
quotes) and find a prompt for the password. Password is the same one as for
user admin.

<warning>
Be very, very careful. Make backups of the files you will be editing before
you do so. You can do serious damage.
</warning>

> Also I am trying to run some exe files and it comes back "can't run binary
> file"

Under Linux, the file extension ".exe" means nothing. It could be ".bak" or
".orig" just as well. It's the executable bit that makes it executable
(sounds clever, right? ;->).

You can make any file you own executable by using "chmod +x [file]" (without
quotes). Again, be very careful, as there is a lot more to take into
consideration when dealing with file permissions. Root can of course chmod
*any* file.

BTW - make sure it's a Linux executable and not something whipped up on a
Wintendo. Won't work. :-)

Read up on Linux before you do anything!

Greetz... Nico