Skip to content

augustobecker/Born2beRoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Born2beRoot - @42sp

ℹ️ Debian GNU/Linux server setup and configuration on a VM, with some scripts too.

🚧 Under construction

110/100 ✔️

Index

What is Born2beRoot?

The forth project at 42. It consists of having you set up your first server by following specific rules, develop a sricpt to display important system informations and turn in a signature.txt file at the root of your repository - the signature of your machine’s virtual disk.

📑 The Rules:

🔹 Create at least 2 encrypted partitions using LVM.

🔹 The hostname of the virtual machine must be acesar-l42 and I have to modify this hostname during a peer-evaluation.

🔹 In addition to the root user, a user with your acesar-l as username has to be present, and this user has to belong to the user42 and sudo groups.

🔹 Implement a strong password policy, that consists of:

The password has to expire every 30 days.

The minimum number of days allowed before the modification of a password will be set to 2.

The user has to receive a warning message 7 days before their password expires.

The password must be at least 10 characters long. It must contain an uppercase letter and a number.
Also, it must not contain more than 3 consecutive identical characters.

The password must not include the name of the user.

The following rule does not apply to the root password: The password must have at least 7 characters
that are not part of the former password.

 Of course, your root password has to comply with this policy.

🔹 Install and configure sudo following strict rules.

Authentication using sudo has to be limited to 3 attempts in the event of an incorrect password.

A custom message of your choice has to be displayed if an error due to a wrong 
password occurs when using sudo.

Each action using sudo has to be archived, both inputs and outputs. The log file
has to be saved in the /var/log/sudo/ folder.

The TTY mode has to be enabled for security reasons.

For security reasons too, the paths that can be used by sudo must be restricted.

How does it work?

The Scripts

Setup Scripts

monitoring.sh

42 Cursus

42 is a global education initiative that proposes a new way of learning technology: no teachers, no classrooms, students learning from their fellow students (peer to peer learning), with a methodology that develops both computing and life skills. Not to mention that it's completely free of charge and open to all with no prerequisites.

Admissions at 42 are unlike other colleges. We use a merit-based admission process. The final step of the admission is the Piscine - This is part of the admissions process and requires 4 weeks of intensive and immersive coding. No prior coding experience is necessary at all.

You can check more about the admission process on the 42sp website: https://www.42sp.org.br or on my github repository: 42 Piscine

To see other projects developed by me at 42, click here: 42 Cursus

Author

Augusto Becker | acesar-l | 🇧🇷👨‍🚀

👋 How to reach me:

About

Debian GNU/Linux server setup and configuration on a VM, with some scripts too - @42sp Project

Topics

Resources

Stars

Watchers

Forks

Languages