Outils pour utilisateurs

Outils du site


blog

Notes initramfs

Voir aussi :

  • tinyramfs

initramfs-tools (0.119) unstable; urgency=medium

  • The initramfs will now run fsck on the root filesystem before

mounting it. If the chosen init program is systemd and there is a

  separate /usr filesystem, it will also fsck and mount /usr.
* If the /usr filesystem is on a RAID device and the INITRDSTART setting
  in /etc/default/mdadm is not 'all', you will need to change it to
  include that device.
* If the RTC (real time clock) is set to local time and the local time is
  ahead of UTC, e2fsck will print a warning during boot about the time
  changing backward (bug #767040).  You can disable this by putting the
  following lines in /etc/e2fsck.conf:
      [options]
      broken_system_clock=1

-- Ben Hutchings ben@decadent.org.uk Sat, 17 Jan 2015 16:56:56 +0000

2025/03/24 15:06

Notes images raw conversion

http://askubuntu.com/questions/483379/how-to-convert-cr2-to-jpg-or-png

sudo apt-get install ufraw-batch
ufraw-batch --out-type jpeg *.CR2
2025/03/24 15:06

Notes ImageMagick conversion images en ligne de commandes

Lien :

Source : https://openclassrooms.com/forum/sujet/decouper-une-image-en-9-rectangles-de-taille-egales-40181

convert carte.jpg -crop 210x210  +repage  carte_%03d.png
convert -resize 1000x700 -colors 16 -quality 75 original.png image2.png
2025/03/24 15:06

Notes IDS

Voir aussi :

  • OSSEC
  • EDR (Endpoint detection and response)

CrowdSec https://linuxfr.org/news/detectez-et-bloquez-les-tentatives-d-exploitation-de-log4j-avec-crowdsec

open-scap / oscap

oscap info /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
 
oscap-ssh root@plop 22 xccdf --profile pci-dss --report /tmp/report.html /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml

Scanning the system for configuration compliance and vulnerabilities

Source : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/security_hardening/scanning-the-system-for-configuration-compliance-and-vulnerabilities_security-hardening

wget -O - https://www.redhat.com/security/data/oval/v2/RHEL8/rhel-8.oval.xml.bz2 | bzip2 --decompress > rhel-8.oval.xml
oscap oval eval --report vulnerability.html rhel-8.oval.xml

Voir :

  • xccdf

Report au format ARF ou HTML

2025/03/24 15:06
blog.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki