thoo-ma / born2beroot Goto Github PK
View Code? Open in Web Editor NEWIntroduction to Linux sysadmin at 42 Paris
Introduction to Linux sysadmin at 42 Paris
OS: Debian 11 (Bullseye) __________________________________________________________ INSTALLED APT PACKAGES - ufw - sysstat (mpstat) --> monitoring CPU usage - libpam-pwquality libpwquality-tools --> pam module - sudo (man sudoers) - net-tools (netstat) --> cf. screenshot `netstat.png` - apparmor-utils (aa-genprof) __________________________________________________________ USEFUL COMMANDS passwords - pwscore - chage users & groups - id - groups - getent groups - adduser (vs useradd !!!) - deluser (vs userdel !!!) cron - crontab -l - service cron [start|stop|restart] - systemctl enable cron ufw - ufw status - ufw status verbose - ufw status numbered ssh - ssh-copy-id -i ~/.ssh/id_rsa.pub user@host apparmor - aa-status - aa-genprof script.sh To do during peer evaluation - adduser - addgroup evalated - usermod -aG sudo user42 bob - gpasswd --delete user group __________________________________________________________ USEFUL FOLDERS Users - /etc/hostname --> rename hostname (need reboot) - /etc/sudoers --> sudo policy PAM - /etc/pam.d/common-password --> password policy - /etc/login.defs cron - /var/spool/cron/crontabs/ --> cron jobs ssh - /etc/ssh/sshd_config --> PermitRootLogin no, UsePAM yes system - /proc/meminfo --> memory infos - /proc/stat --> CPU infos __________________________________________________________ Login as root via ssh not allowed for two reasons: - `PermitRootLogin no` - `PasswordAuthentication no` and not `authorized_keys` into /root/.ssh --> in /etc/ssh/sshd_config __________________________________________________________
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.