Giter Site home page Giter Site logo

born2beroot's Introduction

badge born

NPM

GitHub code size in bytes

🗣️ About

This project aims to introduce you to the wonderful world of virtualization. You will create your first machine in VirtualBox (or UTM if you can’t use VirtualBox) under specific instructions. Then, at the end of this project, you will be able to set up your own operating system while implementing strict rules.

  • setting up a firewall using UFW
  • configuring system administration with sudo
  • implementing strong password policy using libpam-quality
  • setting up a cron task to run a monitoring script every 10 minutes

This project also covered the basics of criptography, networking, hard disk partitioning, and shell scripting (lots of output formatting!)

Comando Descrição
lsblk mostrar as partições
sudo aa-status mostrar os status do AppArmor
sudo ufw status verbose check that the ufw service
sudo ss -tunlp check that the ssh service
hostnamectl status mostra o hostname atual e outras informações
hostnamectl set-hostname <novo hostname> alterar o hostname
sudo awk -F ":" '{print $1}' /etc/passwd mostra os usuários
sudo awk -F ":" '{print $1}' /etc/group mostra os grupos
adduser <usuario> cria um novo usuario com home e tudo
userdel -r <usuario> detela o usuario, -r deleta todos os arquivos
usermod -l <novo nome usuario> <usuario> muda o nome do usuario
groupadd <grupo> cria grupo
groupdel <grupo> deleta grupo
gpasswd -a <usuario> <grupo> adiciona o usuario no grupo
gpasswd -d <usuario> <grupo> remove o usuario do grupo
getent group <grupo> mostra usuarios que estão nesse grupo
passwd <usuario> trocar senha
sudo visudo entra para poder edita o arquivo /etc/sudoers
sudo ufw allow/deny <porta> dar acesso/tirar acesso da porta
sudo ufw delete <numero da linha a ser deletada> deletar linha de acesso a alguma porta
ssh [usuario logado]@[ip da VM] -p [porta x] como conectar o terminal do seu computador com a VM
scp -P [porta] [arquivo] [usuario logado]@[ip da VM]:[diretorio] mandar arquivos do seu computador para a VM via terminal
wall ou wall -n exibe uma mensagem ou o conteudo de um arquivo no terminal de todos os usuarios conectados
exit ou logout terminar conexão do seu computador com a VM
sudo crontab -e editar o arquivo CRON

Author


Jessica Fernanda

Linkedin Badge Gmail Badge

born2beroot's People

Contributors

nandajfa 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.