> boy!!! thelong shot carried it seems....but will it solve my problem?
>
> ls -l /bin/sh
> lrwxrwxrwx    1 root     root            4 May 15 18:55 /bin/sh -> bash
>
> ls -l /bin/bash
> -rwxr-xr-x    1 root     root       541096 Apr 12 21:39 /bin/bash
>
> Arvind

Erm... what are you and mukund talking about ?
/bin/sh *is* a symbolic link.
I would assume he was attempting to see if somehow you managed to delete sh
link and copy something else in its place.

And I do wonder why he bothered , when I gave a detailed explanation that
while you had created the symbolic link to your /usr/local/apache/bin/httpd
in /usr/sbin, you had forgotten to remove your modification to the
/etc/init.d/httpd script.

Ok, I have attatched the default httpd script from one of my
servers.(attatchment not being sent to the list tho). Just replace the
/etc/init.d/httpd with this instead if you are still unable to understand
the explanation.

I have assumed that your apache is in /usr/local/apache/ and apache modules
are in libexec under the same. httpd.pid file is assumed to be in
/usr/local/apache/logs as per default.

But do try opening it in vi and figure out what is happening.

The simpler way would have been to use the script from
http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/cha
p29sec247.html
 *without* any modifications and recompile the apache as something like this
:

#./configure --with-layout=RedHat --enable-module=all --enable-shared=max
#make
#make install

(or whatever modules you need, of course)

I do not see what you find so complex about these simple instructions.

Regards,
Abhi


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to