Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:19:53 +01:00
How to enable full disk encryption after install?
sudo cryptsetup open /dev/vda1 recrypt
Enter passphrase for /dev/vda1:
sudo resize2fs /dev/mapper/recrypt
Output:
re…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:18:52 +01:00
How to enable full disk encryption after install?
sudo cryptsetup reencrypt --encrypt --reduce-device-size 32M /dev/vda1
Output:
WARNING!
========
This will overwrite data on LUKS2-temp-4ce57c…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:16:26 +01:00
How to enable full disk encryption after install?
sudo resize2fs -p -M /dev/vda1
Output:
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/vda1 to 3039933 (4k) blocks.
Begin pass…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 23:15:09 +01:00
How to enable full disk encryption after install?
sudo e2fsck -f /dev/vda1
Output:
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
P…
Benjamin_Loison commented on issue Benjamin_Loison/linux#58 2025-01-25 22:51:17 +01:00
How to enable full disk encryption after install?

What about Debian 12 GNOME to just encrypt ext4 with LUKS without LVM?

Benjamin_Loison commented on issue Benjamin_Loison/linux#62 2025-01-25 01:09:03 +01:00
Run instantaneously a command when fill a given percentage of the disk

Maybe inotify may help.

Benjamin_Loison opened issue Benjamin_Loison/linux#62 2025-01-25 01:08:42 +01:00
Run a command when fill a given percentage of the disk
Benjamin_Loison commented on issue Benjamin_Loison/linux#32 2025-01-25 00:30:33 +01:00
Make my SSH aliases prefer LAN over Internet but with a single command
Related to the Tchap message:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAycDV10QlwYFArtWO/ke29QUpyvK0fmK1K3R9MMi/nDAw
/bJw+oaDXIAkw48U44lYzMVZLlt/ETtW…
Benjamin_Loison opened issue Benjamin_Loison/linux#61 2025-01-25 00:11:16 +01:00
Get user running commands
Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-01-24 14:37:17 +01:00
Dual boot Windows time inconsistency

It's now a 2 hours time shift...

Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-01-24 09:18:31 +01:00
Dual boot Windows time inconsistency

I still have the issue after some time...

Benjamin_Loison commented on issue Benjamin_Loison/linux#59 2025-01-23 17:12:33 +01:00
How to block access to other user home folder?
So chmod 700 /home/user/ is enough, according to the Tchap message:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAkhoqOO949rTBpmqFjqZNH/cXBU2…
Benjamin_Loison commented on issue Benjamin_Loison/linux#59 2025-01-23 17:11:13 +01:00
How to block access to other user home folder?
ls -lah ~
Output:
total 360K
drwx--x---+ 32 benjamin_loison benjamin_loison 4.0K Jan 23 15:22 .
drwxr-xr-x   3 root            root          …
Benjamin_Loison commented on issue Benjamin_Loison/linux#41 2025-01-23 17:05:05 +01:00
Avoid users to see commands executed by others

Can see how much the computer is being used (possibly by the system or other users)? To figure out if running something will be efficient or wait someone else finishing something.

Benjamin_Loison commented on issue Benjamin_Loison/linux#41 2025-01-23 17:03:06 +01:00
Avoid users to see commands executed by others

For reference htop and ps aux.

Benjamin_Loison opened issue Benjamin_Loison/certbot#12 2025-01-23 16:58:15 +01:00
Can have https://domain.name/a and https://domain.name/b use different certificates?
Benjamin_Loison opened issue Benjamin_Loison/linux#60 2025-01-23 15:55:18 +01:00
How to make a user able without root to share a folder with given other user(s)
Benjamin_Loison opened issue Benjamin_Loison/linux#59 2025-01-23 15:54:04 +01:00
How to block access to other user home folder?
Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-01-23 15:05:28 +01:00
Dual boot Windows time inconsistency

It holds a reboot.

Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-01-23 14:56:47 +01:00
Dual boot Windows time inconsistency
ntpdate pool.ntp.org
Output:
Command 'ntpdate' not found, but can be installed with:
sudo apt install ntpsec-ntpdate