linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux [2019-03-08] – created hanez | 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: | ||
+ | |||
+ | < |
linux.1552084360.txt.gz · Last modified: 2019-03-08 by hanez