Blank page on PHP-lists on fantastico..

February 25, 2008

The issue was the the option php-list on fantastico was giving blank page.
New installations also giving the blank page.

Cause:

Server is PHP-suexec, so some configuration change need to implement PHP list.

FIX :

The server is PHP-SUEXEC enabled so the plugin_rootdir should be given
as “plugins” in config.php file.

——-
#define(“PLUGIN_ROOTDIR”,”/tmp”);
define(“PLUGIN_ROOTDIR”,”plugins”);
——


Permissions of EXIM

February 25, 2008

What is the permission of exim binary ?

Is it normal, no we have to give special permissions.

root@Server[~]# ll /usr/sbin/exim

-rwsr-xr-x 1 root root 775568 Feb 18 11:32 /usr/sbin/exim
If these permissions are incorrect , exim will refuse to start.

# chmod 4755 /usr/sbin/exim

(or)

# chmod u+s /usr/sbin/exim

Alert Mail when someone logins as root..

February 25, 2008

If you need to send an email alert if anyone logs in successfully as root using SSH. Enable the following on CSF configuration file ( /etc/csf/csf.conf).

LF_SSH_EMAIL_ALERT = "1"

You can block an IP, if certain number of login failure happens, the IP will be blocked by enabling the following option.

LF_SSHD = "3"