Synology NAS – LDAP Integration issue

15. July 2017 AWS 0
Synology NAS – LDAP Integration issue
Issue After the latest update of Synolofy NAS 6.1, the LDAP integration is no more working. The NAS is throwing error while clicking on the LDAP detected users. Solution NAS >> Domain / LDAP >> LDAP >> Profile >> Filter >> add the below in Shadow Section. objectClass=posixAccount

SSH or git-clone via Proxy

SSH or git-clone via Proxy
Today we were setting up few Web servers on a private network which will be serving the traffic through the Load Balancer. The setup was simple until we came to know that the Webservers needs to connect to github.com for the repository access.   Diagnosis We have a jumpbox / Bastion (10.10.1.10) which is used for ...

How to Install Hyper-V on a Virtual Machine VM

05. May 2017 Azure 0
How to Install Hyper-V on a Virtual Machine VM
Hello 🙂 If you are here with the below error, and you are trying to install Hyper-V on a VM for testing purpose, you are at the right place. Error Hyper-V can not be installed: The hypervisor is already running We know that it is not recommended to run Hyper-V inside a VM, and it ...

Jenkins not starting on CentOS 7 / RHEL 7

Jenkins not starting on CentOS 7 / RHEL 7
Today i was installing Jenkins on a CentOS7 systems. After installing it via Jenkins yum repository, the service was not stating. The java was already installed on the server. Issue You have installed jenkins on a CentOS7 / RHEL7 system. jenkins is not starting via systemctl start jenkins command, and it is throwing journalctl -xn error. Caused ...

OpenVPN with CSF firewall rules

02. February 2017 CentOS, RHEL, SysAdmin 0
OpenVPN with CSF firewall rules
We are a big fan of OpenVPN when it comes to security. Many organizations have already switched to OpenVPN from PPTP etc. NixVPN is my favorite VPN software to host it on a standalone instance. But what if, if you already have a server protected with CSF firewall, and you want to install OpenVPN by ...

VSFTP chroot jail users – Limit FTP users access to home directory

01. February 2017 CentOS, RHEL, SysAdmin 0
VSFTP chroot jail users – Limit FTP users access to home directory
Lets see how we can configure a secure FTP server on CentOS  RHEL 6 / 7 First, you need to install the vsftp package on your server yum install -y vsftpd Once installed, lets start editing the configuration file, vim /etc/vsftpd/vsftpd.conf Line #12 disable anonymous FTP access, with the below configuration change. anonymous_enable=NO Chroot / Jail FTP ...

Disable SU access for sudo users

11. January 2017 AWS, CentOS, RHEL 0
Disable SU access for sudo users
Some times you need to disable sudo su – access on your environment so that the users will use sudo command always and they will not switch to any other users account unnecessarily Lets see how to do it Edit the /etc/suoders by running visudo visudo Add the below Command Alias Cmnd_Alias BLOCKSU = /bin/su ...

How to log all sudo commands

11. January 2017 RHEL 0
How to log all sudo commands
Some times it’s necessary to log all the sudo commands run in your environment. Let’ss see how to achieve this. Edit the sudoers file by running visudo visudo Add the below line to the Defaults section [sociallocker] Defaults logfile=/var/log/sudo [/sociallocker] Now all the commands from a sudo user will be logged in /var/log/sudo file. [[email protected] ~]# cat /var/log/sudo ...