Change welcome message (motd) on Ubuntu 16.04/18.04
The welcome message shown to a user upon the terminal login whether it is via remote SSH login or directly via TTY or terminal is a part of motd also known as "Message Of The Day" daemon. The motd message can by customized to fit individual needs of each user or administrator
Configure a WPA2 Enterprise with FreeRADIUS and AD integration on Ubuntu16.04 + Daloradius
Assuming: 172.100.99.100: FreeRADIUS IP address mydomain.com: domain name mydc.mydomain.com: domain controller MYNTDOMAIN: ntdomainname 1. Install samba, winbind, krb5-user: sudo apt install samba winbind krb5-user 2. Config samba by editing: sudo nano /etc/samba/smb.conf:
Configure SSSD and Active Directory in Linux
This section describes the use of sssd to authenticate user logins against an Active Directory via using sssd's "ad" provider. In previous versions of sssd, it was possible to authenticate using the "ldap" provider. However, when authenticating against a Microsoft Windows AD Domain Controller, it was generally necessary to install the POSIX
Install WordPress with LAMP on Ubuntu 16.04
Prerequisites In order to complete this tutorial, you will need access to an Ubuntu 16.04 server. You will need to perform the following tasks before you can start this guide: Create a sudo user on your server: We will be completing the steps in this guide using a non-root user with sudo privileges. You
Install and configure Linux/Ubuntu 16.04/18.04 rSnapshot
Install rsnapshot sudo apt install rsnapshot Configure rsnapshot sudo nano /etc/rsnapshot.conf ################################################# # PLEASE BE AWARE OF THE FOLLOWING RULE: # # This file requires tabs between elements # ################################################# snapshot_root /var/backups/ cmd_ssh /usr/bin/ssh cmd_du
Install a DHCP Server Linux/Ubuntu 16.04
Installation and setup Install the DHCP server package: sudo apt install isc-dhcp-server Configure the file After installation edit the file /etc/dhcp/dhcpd.conf and confirm the following: ddns-update-style none; #option domain-name "example.org"; #option domain-name-servers ns1.example.org, ns2.example.org; # define in seconds default-lease-time 3600; max-lease-time 10800; # Primary, single network DHCP authoritative; subnet 192.168.28.0 netmask 255.255.255.0
Install a STACK LAMP on Linux/Ubuntu 16.04/18.04
Apache installation Install the apache2 package and modify the contents of apache root folder (/var/www/html) sudo apt install apache2 Add a Virtual Host Create the file for the site we want to add. All site configuration files are in the /etc/apache2/ sites-available folder. In our case we will add the file /etc/apache2/sites-available/grs.pt.conf with the command: sudo nano /etc/apache2/sites-available/grs.pt.conf The
Security SSH Keys Ubuntu 16.04/18.04
Through this system authentication is performed via the public / private key pair. Part I - Your Key 1. Generate the keys In the ssh client (the Desktop) we will generate the keys: ssh-keygen -t rsa -b 4096 Enter file in which to save the key → [ENTER] Enter passphrase (empty for no passphrase): → each
Security fail2ban Linux/Ubuntu 16.04/18.04
Credits: https://www.carrondo.net Review and tested by: Cristiano Costa