Skip to content

Instantly share code, notes, and snippets.

View s2ks's full-sized avatar

Jilles s2ks

  • Utrecht University
  • 14:24 (UTC +02:00)
View GitHub Profile
@s2ks
s2ks / Linux-cheatsheet.md
Last active April 17, 2024 13:44
A collection of linux related things that I either keep forgetting, or may forget in the future.

Laptop Battery management

  • tlp: power management
  • tlp-stat -b: see supported battery features
  • tlp setcharge: charge the battery to the specified amount

User management

  • useradd -m <username>: create a new user and their home directory
  • gpasswd -a : add a user to a group
@thesamesam
thesamesam / xz-backdoor.md
Last active July 15, 2024 10:34
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that