How to change your server signature

Disguising your server signature is always a good idea as you wont reveal the operating system to potential script kiddies and hackers.

Connect to your server via SSH and login as admin, then ‘su -‘ to root.

Type the following at the command prompt:

pico -w /etc/httpd/conf/httpd.conf

Press [CTRL-W] to start a text search, then type ‘ServerSignature’ and press
[RETURN]

Change:

ServerSignature On

To:

ServerSignature Off
ServerTokens ProductOnly

Now press [CTRL-O] to save the file, then [CTRL-X] to leave the text editor.
Finally, type the following at the command prompt:

service httpd restart

Facebook Comments

More Stuff

How software users are like kittens It's summer,1 it's hot, nobody wants to work. What we all want to do is look at pictures of cute kittens and go "ahhh." So I'm going to exploit you al...
Excluding Packages from Yum Update When running a 'yum update' under CentOS, there are certain packages you may be running which you wish to remain static, or which can potentially caus...
Linux Web Hosting FAQ Our Frequently Asked Questions on Linux gives you insight on what you can expect when choosing a Unix or Linux platform to host your site. Also includ...
cPanel World Tour: Crossing the International Date Line Last week, I traveled to distant and exotic lands with cPanel’s CEO, Nick Koston; CBO, Aaron Phillips; Account Manager, Brenda Gehringer; and Product ...
Spread the love

Posted by News Monkey