GithubHelp home page GithubHelp logo

richardmarcela / 42-born2beroot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16 KB

This is a 42 project that aims to create a virtual machine in VirtualBox under specific instructions.

42born2code 42cursus 42school born2beroot ecole42 42-school 42porto 42portugal

42-born2beroot's Introduction

42-born2beroot

Important commands for evaluation

nano /usr/local/bin/monitoring.sh - opens monitoring.sh source code

sudo cat /var/log/sudo/sudo.log - displays the content of sudo.log, the file that saves logs everytime a sudo command is used

sudo ufw status - displays the current firewall status (rules i.e allowed/denied PORTS)

sudo ufw allow - allow a new PORT

sudo ufw delete allow - delete the firewall rule that allows PORT

sudo useradd novouser - create a new user

sudo addgroup newgroup - create a new group

sudo adduser newuser user42 - add newuser to a group

getent group user42/sudo - displays the users currently in the group

sudo deluser newuser user42 - removes newuser from a group

lsblk - displays the disk partitions

sudo crontab -e - check if the monitoring script is scheduled on crontab

sudo crontab -r - remove the current crontab tasks

sudo crontab -l - show the current crontab tasks

sudo nano /etc/pam.d/common-password - password policy

sudo service ssh status - show the status of ssh

sudo visudo - sudo restrictions

nano /etc/hostname - change the hostname

hostname -I - get VM's ip

ssh -p 4242 @<VM's ip> - connect Host terminal with the VM

sha1sum <machine_name>.vdi - generate the signature

42-born2beroot's People

Contributors

richardmarcela avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.