informatique:linux:commandes_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
informatique:linux:commandes_linux [2023/12/19 09:49] – [tar] exclude pteu | informatique:linux:commandes_linux [2024/03/15 07:56] – [auditd] pteu | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
====== Commandes Linux ====== | ====== Commandes Linux ====== | ||
Line 126: | Line 125: | ||
Jul 19 02:30:00 bast2 atd[221981]: | Jul 19 02:30:00 bast2 atd[221981]: | ||
</ | </ | ||
+ | |||
+ | =====auditd===== | ||
+ | |||
+ | Permet d' | ||
+ | <code bash> | ||
+ | apt install auditd | ||
+ | |||
+ | # mise en place de l' | ||
+ | auditctl -a exit,always -F arch=b64 -F a0=2 -F a1\&=2 -S socket -k SOCKET | ||
+ | # lister les logs de l' | ||
+ | ausearch -i -ts today -k SOCKET | ||
+ | # supprimer l' | ||
+ | auditctl -d exit,always -F arch=b64 -F a0=2 -F a1\&=2 -S socket -k SOCKET | ||
+ | </ | ||
+ | src: [[https:// | ||
+ | |||
=====awk===== | =====awk===== | ||
informatique/linux/commandes_linux.txt · Last modified: 2024/04/05 06:58 by pteu