In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn’t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk 😛 Assumption: This post assumes that rundeck is running on host1 listens on port… Continue Reading Rundeck Failover Setup

The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with… Continue Reading Create temporary User on Linux Host

Sometimes, you would need to give sudo privilege to many users. For providing sudo privilege for a single user, refer the following post.   —– https://blog.pheonixsolutions.com/wheel-user-to-become-as-root-su-without-password/ —–   For providing sudo privilege for many users, create a group and add all the users in that group. So, if we give… Continue Reading Providing sudo privilege for a group.

How to harden the Linux server or centos 5 or centos 6.2 SPRI (Priority Scheduler) cd /root/ wget http://www.rfxn.com/downloads/spri-current.tar.gz tar xvfz spri-*.tar.gz cd spri-* ./install.sh spri -v PRM (Process Resource Monitor) cd /root wget http://www.rfxn.com/downloads/prm-current.tar.gz tar xvfz prm-*.tar.gz cd prm-* ./install.sh prm -j Temporary Directory Hardening —————————– /bin/cp /etc/fstab /etc/fstab.bak… Continue Reading Hardening the linux server or cenos 5/6.2

How to remove space in front of a word in a file? This is a simple script to show how to remove space in a front of a word from a file. You can learn about this simple command for removing the space in front of a word and execute… Continue Reading Remove a space in front of a word in a file

I have installed the CSF in the server. When I try to run the perl test in the CSF, it is giving the following error. # perl /etc/csf/csftest.pl Testing ip_tables/iptable_filter…OK Testing ipt_LOG…OK Testing ipt_multiport/xt_multiport…OK Testing ipt_REJECT…OK Testing ipt_state/xt_state…OK Testing ipt_limit/xt_limit…OK Testing ipt_recent…FAILED [Error: iptables: Unknown error 4294967295] – Required for… Continue Reading CSF error some missing iptables modules [4] ipt_REDIRECT…FAILED, ipt_owner, ipt_recent, iptables_nat