The 42 project Born2beroot explores the fundamentals of system administration by inviting us to install and configure a virtual machine. By the end of this project, we will have learned about virtualization, partitioning schemes, LVM, command-line software, protocols such as SSH and the importance of securing a system thanks to sudo, firewalls and password policies.
🔍 Born to be root is a 42 core curriculum project aimed at helping us learn and explore the fundamentals of system administration by getting us to install a virual machine. It helps you get a general understanding of virtualization, partitioning schemes, LVM, command-line software protocols such as SSH, and the importance of system security using sudo, firewall, and password policies.
Born to be root can be long, boring, and confusing for some, making it challenging to grasp the multitude of commands and configurations. In an attempt to better understand the commands, and intricacies of system configurations and simplify the evaluation process for myself and other 42 students I created this tester. I hope you find it helpful! ⭐ Stars for this repo are super helpful and appreciated! ~ pandashaly
🚀 This script is designed to test various aspects of your Debian virtual machine setup for BornToBeRoot. It goes through the evaluation checks in order and checks your VM for specific configurations, password policies, services, UFW configuration, and everything needed to pass this project according to the guidelines set by the pdf. Follow the instructions below to run the tester script.
-
Clone the Repository:
[email protected]:pandashaly/Born2BeRoot_tester.git
-
Run the Script:
sudo bash tester.sh
-
Follow the On-Screen Instructions: 📋 The script will guide you through various checks and provide feedback on your system setup.
- Ensure you have administrative privileges to run the script. Use
sudo
as shown in the usage instructions. - The script is designed for Debian OS and won't work for Rocky. Ensure your system matches the expected environment.
Neofetch is a command-line utility that displays system information in a visually appealing way. It provides details about your OS, kernel, CPU, GPU, memory, and more, and it often includes an ASCII art representation of the distribution's logo. It's not necessary, but it's a pretty fun addition to show your evaluator what OS you chose and to show that the GUI enabled! ^_^
If neofetch
is not already installed on your system, you can install it using the following commands:
Debian/Ubuntu:
sudo apt-get install neofetch
Mac (using Homebrew):
brew install neofetch
- Monitoring Script: The script checks for a monitoring script running every 10 minutes using cron. Review and update the script as needed.
- Website URL (Bonus): If applicable, a bonus section provides information about a website.
- Ensure proper setup and configuration. You need to be able to show that your free choice service is installed and running.
- Add password checks to the tester.
- Extend Bonus section tests
The script aims to assess your system setup based on the pdf criteria. Thank you for using this tester! If you encounter any errors or have suggestions, feel free to contact me or start an issue on GitHub. This tool is tailored for 42 students, and your feedback is crucial. Contributions are welcome if you want to add new tests to the script. Happy testing, and may your system setups be smooth! 🚀
For any questions or issues, contact me ~ pandashaly. 🤖 [email protected]