"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke

Archive for March, 2008

Where can I find the php.ini file?

Saturday, March 1st, 2008

Read the rest of this entry »

There are a few different ways to restart SSHD remotely.
You will need root access in order to do this.
1) /etc/init.d/sshd restart
2) kill `cat /var/run/sshd.pid` && /usr/sbin/sshd

Read the rest of this entry »

How to disable root login in Linux

Saturday, March 1st, 2008

It is a good idea to disable root login for security purposes and use your login name and use sudo to get root privileges.
First of all, make sure you have your own login name and you can get root privileges by using sudo.
So, open up /etc/ssh/sshd_config and comment out
AllowUsers root
so it will look like:
#AllowUsers admin
You […]

Read the rest of this entry »