How To Create A User With A Custom Home Directory In Linux

How To Create A User With A Custom Home Directory In Linux

Intro In this tutorial, we’re going to see how to change the default home directory of a user on Linux. By default, it is /home/username. We’ll show how to change it for a new user, as well as move the existing content to a new location. Command A 60 second youtube video on how to […]

How To Create a Startup Script using Crontab in Lubuntu Linux

startup script ubuntu,cron startup script ubuntu,crontab startup script linux,ubuntu 21.10,ubuntu 21 04,how to,create startup script,in linux,in 2021,in 2022,crontab -e,@reboot crontab,crontab startup example,startup scripts in linux,manage startup scripts in linux,startup,script,command,linux,ubuntu,lubuntu,server,server crontab startup script

Why do we need to create Startup Script to run after the operating system starts? If you have a home server, or maybe even just a Linux desktop, and you run the same fine-tuning commands each time you restart, running scripts automatically can make your life easier. The main reasons are that there will no […]

How to connect to remote Windows machine from Lubuntu linux using Remmina

remmina linux

What is Remmina? Remmina is a remote desktop client for computer operating systems. It supports the Remote Desktop Protocol (RDP), VNC, NX, XDMCP, SPICE and SSH protocols. Why use Remmina? Remmina is an easy, extremely convenient and widely used client for access to remote machines.Undoubtedly, as administrators we have to constantly change our needs to […]

How to create MySQL replication server

10.20.6.29 – Master Database10.20.6.30 – Slave Database chnage the bind address to your server real ip address 10.20.6.29 uncomment at the bottom of the file add your databases now log in with root on the mysql server via terminal copy the databases to the slave server with phpmyadminin 10.20.6.30 a.k. the slave If there is […]

How to configure remote log servers with rsyslog?

Rsyslog is an open-source software utility used on UNIX and Unix-like computer systems for forwarding log messages in an IPnetwork. It implements the basic syslog protocol, extends it with content-based filtering, rich filtering capabilities, queued operations to handle offline outputs,[2] support for different module outputs,[3] flexible configuration options and adds features such as using TCP for transport.

Install and configure fail2ban on ubuntu 17.04 and block on all ports

Fail2ban scans log files and bans IPs that show the malicious signs — too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).