Puppet Error: facter selinux Could not retrieve selinux: Invalid argument – /proc/self/attr/current


You might receive the following error when running puppet on RHEL based system. facter selinux Could not retrieve selinux: Invalid argument – /proc/self/attr/current This error occurred when selinux is disabled on system and puppet facter tries to read file “/proc/self/attr/current” to check the selinux status and throws the error. The file actually itself throws error

Puppet Error: Could not request certificate: getaddrinfo: No such host is known


Error: Could not request certificate: getaddrinfo: No such host is known. Generally this happen when the system is not able to resolve your puppet master domain. just make sure that if your are not using FQDN for your puppet master than there is a entry in /etc/hosts for your puppet master.    

error: cannot open Packages database in /var/lib/rpm


This Error occur when your yum database it corrupted due to some reason. # yum rpmdb: Thread/process 3511/3078396224 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 –  (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb



/etc/login.defs is a configuration file used by shadow-utils to decide the certain default parameters for advance user account management. You need to change the parameters in this file to decide what will be the default user mail dir , password encryption method, password expiry days, userid, groupid etc # # Please note that the parameters

linux bandwidth limit using wondershaper


(IN)SECURE ISSUE 43 ( September 2014 )


What is the value of professional certification? How to tell if your security system has been fingerprinted by evasive malware Mobile hackers look to the network Why every security-conscious organization needs a honeypot Securing the U.S. electrical grid Using Hollywood to improve your security program How a large ISP fights DDoS attacks with a custom

apt-cache: ubuntu/debian package inventory


apt-cache command line tool is a part of Advanced Packaging Tool(APT) .  apt-cache is a very simple but rich information command , which you can use for installed packages and available for install packages information. Lets Start with its syntax Usage: apt-cache [options] command apt-cache [options] showpkg pkg1 [pkg2 …] apt-cache [options] showsrc pkg1 [pkg2 …]

(IN)SECURE ISSUE 42 (June 2014)


download :-  http://www.net-security.org/dl/insecure/INSECURE-Mag-42.pdf Six infosec tips I learned from Game of Thrones Dissecting the newly-discovered desire for control and privacy Incident response and failure of the “Just Fix It” attitude How to learn information security Who are you? The impact of security breaches on authentication Thecus N5550 NAS Server inside and out Report: Hack In

cisco ccna videos getting to know frame relay

[hdvideo id=18 ratingscontrol=on views=on title=on]

check hardware RAID level in linux

There are many instance when you want to know what is hardware raid level configured for your server . megacli command can be used to tell you the same. megacli is a tool which is widely used for raid information. MegaCli64  -LDInfo -Lall -aALL | grep RAID output: RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0