May 2014
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

May 2014
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Add HTTP Strict Transport Security in Apache & Nginx

HSTS (HTTP Strict Transport Security) is a security protocol that force the use of SSL in the comunication between the web browser and the web server. This standard is recently approved (2 october 2012) by the IETF, but the first draft was released in 2010 and it was implemented in some sites like Paypal, Android […]

Solaris 11 direct root login access

This will be helpful for those wants to have direct root login locally and via SSH

Comment out the “CONSOLE=/dev/console” line in /etc/default/login.

Modify PermitRootLogin to yes in /etc/ssh/sshd_config

Remove “:type=role” from the root entry in /etc/user_attr

Remove highlighted part

root::::type=role root:::

How to rescan the new Storage (LUN) in Linux without reboot

In order to get the fiber channel adapters detail to rescan, list the /sys/class/fc_host directory. In old RHEL host you will not be getting this listing. In this case you can use the /sys/class/scsi_host directory but it will list all internal adapters too.1. In Order to scan New Lun we need to run LIP […]