The goal of this project is to familiarize with basic system administration skills. It entails the creation of a virtual machine using VirtualBox and set up an operating system with a set of specific security and configuration guidelines.
- Use either the latest stable version of Debian or Rocky Linux. Debian is recommended for beginners.
- Install a minimum of services. A graphical interface is not allowed.
- Create at least 2 encrypted partitions using LVM.
- Set up a SSH service running on port 4242. Root login via SSH should be disabled.
- Implement a strong password policy:
- Passwords must expire every 30 days.
- Minimum of 10 characters with at least one uppercase letter, one lowercase letter, and a number.
- No more than 3 consecutive identical characters.
- Passwords must expire every 30 days.
- Configure sudo with the following rules:
- Limit to 3 attempts for authentication.
- Display a custom error message on incorrect password.
- Archive each action using sudo.
- Limit to 3 attempts for authentication.
- Implement a strong password policy:
- Develop a monitoring.sh script in bash.
- Display system information every 10 minutes on all terminals using the wall command.
- Information to display includes:
- OS architecture and kernel version.
- CPU and memory usage.
- Disk usage.
- Active connections.
- IPv4 and MAC addresses.
- Information to display includes:
To earn bonus points, you can set up additional services or improve your system configuration:
- Configuring a functional WordPress website with Lighttpd, MariaDB, and PHP.
- Setting up any other useful service of your choice (excluding NGINX/Apache2) I included an FTP service.