linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux [2024-03-12] – removed - external edit (Unknown date) 127.0.0.1 | linux [2025-03-18] (current) – ↷ Page moved from user:hanez:linux to linux hanez | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Linux ====== | ||
+ | <nspages user: | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== AMDGPU ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Useful commands ===== | ||
+ | |||
+ | ==== Start GUI program as different user: ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | su - testuser -c " | ||
+ | |||
+ | After exit you should disable acces by running: | ||
+ | |||
+ | < | ||
+ | |||
+ | Everything in one command: | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== Howto create and mount encrypted disk ==== | ||
+ | |||
+ | === Create: === | ||
+ | |||
+ | < | ||
+ | cryptsetup luksOpen /dev/sdb1 crypto | ||
+ | mkfs.ext2 / | ||
+ | |||
+ | === Mount: === | ||
+ | |||
+ | |||
+ | < | ||
+ | mount / | ||
+ | |||
+ | === Unmount: === | ||
+ | |||
+ | |||
+ | < | ||
+ | cryptsetup luksClose / | ||
+ | |||
+ | === Change Key: === | ||
+ | |||
+ | |||
+ | In LUKS scheme, you have 8 " | ||
+ | |||
+ | < | ||
+ | |||
+ | Then you can add, change or delete chosen keys: | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | As for deleting keys, you have 2 options: | ||
+ | |||
+ | a) delete any key that matches your entered password: | ||
+ | |||
+ | < | ||
+ | |||
+ | b) delete a key in specified slot: | ||
+ | |||
+ | < |