by Farooq Ahmed | Oct 11, 2016 | Rasberry Pi
In Raspberry Pi from version Jessie onwards the “root” login for SSH sessions (via Putty Login) has been disabled by default. It can be enabled by just editing “sshd_config” file and then restarting “ssh” service. To start with...
by Farooq Ahmed | Oct 6, 2016 | Red Hat IDM
When adding multiple users in IDM/freeIPA its a pain inputting each user and its time consuming. This script/one liner allows you to enter multiple users at one go and it includes non-interactively specifying a password. The following script allows creating multipe...
by Farooq Ahmed | Jul 18, 2016 | Nagios Core
This script is to monitor a failure when Nagios daemons fails to start or sometimes Nagios stops sending alerts. When you check the logs at “/usr/local/nagios/var/log/nagios.log” you might come across messages like “Caught SIGSEGV, shutting...
by Farooq Ahmed | Jul 5, 2016 | Puppet
This article covers the setup and configuration of PuppetDB and Puppetmaster on separate nodes/hosts. I have used PostgreSQL as PuppetDB backend instead of HSQLDB as it’s much easier to query and troubleshoot any issues you comes across especially when using...
by Farooq Ahmed | Apr 22, 2016 | RHEL / CentOS
This a very useful One liner command to insert IP and hostname into /etc/hosts file and is particularly useful when it comes to kickstart scripts wherein you need to have /etc/hosts entry for the newly provisioned VM and get it enrolled to various applications that...