Giter Club home page Giter Club logo

born2beroot-42's Introduction

Born2BeRoot 42/21

GRADE: 110/100

If you make only partition from bonus part.

Developed for Debian so i'm not sure that it will run properly on CentOS distributive. Anyway, PM me on Discord if its working on CentOS or you have a suggestion/issues: MMBHWR#0793

monitoring.sh script

Known issues:

  1. Cron may refuse to running script on boot due to bug in Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635473). How to fix? [https://bugs.debian.org/cgi-bin/bugreport.cgi?att=0;bug=635473;msg=70]. Good luck :) Theres also another way to fix it in my rebootfix.txt file, but it may not work anyway... Try to explain this to your evaluator if he ask you. Because i haven't seen "monitoring.sh script on boot" in evaluation checklist and almost nobody asked me about this.

Please, DO NOT copie + paste this thing with emptiness in your eyes and blank in your head!

It's highly recommended to know what u use and how&why it works even if i leaved an explanation in commentary. At least, it will be usefull for YOURS and ONLY YOURS defense. Google&man all the commands listed here and read about it's options/parameters/etc. Be intellegent, be adaptive, be SMART. Know the tool you use.

To make this works u need to [$ chmod +x monitoring.sh] (ofc lol). 
Please note that you should run script as root because journalctl won't
work from user without sudo.

How to use

First off [$ sudo crontab -e] (yep, you need sudo to make cron runnig script as root.[$ crontab-e] will open another file that will run your script as user). Set nano/vi as your text editor for cron and add next lines in your crontab file:

@reboot /path/to/file/monitoring.sh
*/10 * * * * /path/to/file/monitoring.sh

Dont forget that you should write FULL PATH TO FILE (no ~/*/etc.) due to cron's pecularity.

walkthrough37.txt

Guide how to correctly setup and configure both Debian and software. Including bonus-part partition set up.

evalknowledge.txt

Little Q&A from Subject and whattocheck as evaluator.

I think it's done for now. I won't make "full guide with bonus part" just because you can easly find it in another B2BR repo. I highly recommend repeating the installation process several times, if possible, in order to remember and understand everything well. Especially if this is your first time working both Linux and a virtual machine.

born2beroot-42's People

Contributors

headlighter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

born2beroot-42's Issues

๐Ÿ™‚

  1. su - -> root password -> apt install sudo
  2. [$ adduser sudo] (yep, you should be in root)
  3. [$ sudo reboot], then log in again
  4. [$ sudo -v] -> password
  5. [$ sudo addgroup user42]
  6. [$ sudo adduser yourusername user42]
  7. [$ sudo apt update]

to

  1. su - -> root password -> apt install sudo
  2. [$ sudo adduser sudo] (yep, you should be in root) // <---------------------
  3. [$ sudo reboot], then log in again
  4. [$ sudo -v] -> password
  5. [$ sudo addgroup user42]
  6. [$ sudo adduser yourusername user42]
  7. [$ sudo apt update]

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.