Ep. 7 - Ubuntu : SUDO ( bonus SED )
HTML-код
- Опубликовано: 26 авг 2024
- Commandes SED & SUDO
Les commandes : adduser, useradd, su, mkdir, passwd, SED, SUDO ...
sed -i 's!/bin/sh!/bin/bash!' /etc/passwd
sed -i 's/ubuntu$/ubuntu,titi,toto/' /etc/group
Fichiers :
/etc/passwd
/etc/shadow
/etc/group
/etc/sudoers
/etc/sudoers.d/toto
Playlist Terminal Linux
• Terminal Linux / MacOS
Playlist Docker & Ubuntu
• Docker Desktop - Ep 1 ...
Un pouce bleu ? Abonne toi. ;-)