Setup a Linux Highly Availability NFS servers

Monday, November 3rd, 2008

In this tutorial I will describe how to set up a Linux Highly Availability(HA) NFS servers using SuSE Linux Enterprise Server 10 SP2. In order to make Linux HA NFS failover work, you’re require “sm-notify” utility, basically sm-notify will send out Network Status Monitor(NSM) reboot notifications.
Here are the steps to prepare automated NFS failover. [...]

How to find empty folders on Linux

Friday, October 17th, 2008

Tips: How to find an empty folders on Linux box
In order to do some folder maintenance job, you may require to find an empty folder on Linux box. I would like to share tips here:
# find /path -type d -empty
Find empty folder and list
# find /path -type d -empty -exec ls -ld {} \;
Find empty [...]

How to create full right permission on Samba share

Friday, October 17th, 2008

Samba is an Open Source/Free Software suite that has, since 1992, provided file and print services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems. Samba is freely available under the GNU General Public License.
Samba comes with different types of permissions for share and for some reason you [...]

SSH Remote Access Authentication Tips

Friday, October 10th, 2008

My friend was try to setup Linux SSH public key authentication without password and he’s keep getting password prompt. I will not going to go through how to setup SSH public key authentication here and I just would like to share few troubleshoot tips in order to fix the similar problem here:
1. Checking /var/log/messages file
Basically [...]

Set a Good Password Policy On SuSE Linux

Friday, September 19th, 2008

Sometimes setting a good password policy is not easy and you may receive many complaint from end user especially non-IT related users. Normally they like password = password = abc123 as easy as possible.
Personally I don’t like pam_cracklib and I would preferred pam_passwdqc.
The pam_passwdqc module is a simple password strength checking module for PAM. In [...]