It sounds like there's some additional thing that needs to be regenerated if your password leaks out.
Yes, you're correct, this is the case :)
The disk isn't encrypted by your password, but by a key. The key can only be retrieved with the correct password.
Password1 Password2 Password3
| / /
| / /
| / /
| / /
V V V
Encryption Key
This allows having multiple passwords, since encryption only works with exactly one key.
Changing your password means the old password can no longer be used to retrieve the key, it does however not mean that the key itself has changed.
If the key is leaked at some point (e.g. by an old backup and known password) it can be used to decrypt the hard drive.
If you want to change the key (not sure if this is supported by LUKS) you would need to decrypt and reencrypt the entire hard drive. That is: for each block on the disk, decrypt it using the old key and encrypt it with the new one. This makes changing password a massive pain, and again encryption only supports one key. So that's why there is an "intermediate layer"
I hope that makes sense, still a bit early in the morning lol :)
+1 for OnlyOffice, presented my Bachelor's thesis with it, looked pretty clean, has a good presenter setup and I was even able to integrate videos into the presentation.
I use LibreOffice myself from time to time but sadly the templates really got stuck in 2001 at best.. No one likes those "see my screen got soooo many colors"-themes nowadays :/
I've been running Arch on a XPS13 7390 2-in-1 for a little bit more than a year now. Initially there were problems, because the touch driver wasn't fully available, but this had been fixed shortly after I got mine and it's been working fine ever since. Webcam and fingerprint drivers still aren't available, you might want to choose a Linux Edition Notebook, they will work there I think...
I use my notebook in combination with xournalpp to take notes or annotate PDFs and it's absolutely fine. Concerning power, I like to keep my system minimal, i.e. there's "no big DE" like KDE running, but only i3 and I think I get ~ 8-10h battery life, depends what you do obviously.
Both, the Ubuntu Wiki and the Arch wiki have a page dedicated to my model, see if they answer your questions :)
Also, the working directory in dolphin and the shell's working directory are coupled, i.e. if you cd or click through few folders, you'll always be on the same page.
Hmm yes he would need to shrink either the ext4 or the ntfs partition and move them such that there is free space. Might take some time to copy the data around but it's pretty simple if you use gparted :)
You should be able to increase the boot partition using a live USB. Go for the arch live iso and use gdisk if you feel comfortable, or use any other distribution with a graphical interface and use gparted to adjust the partition as you need it :) Mine is ~500MB and I never had issues...
It's not my "ignorance" making me say that, it's your missing experience creating a misunderstanding, but I'll try to explain my point.
ArchLinux serves 11067 packages in the official repositories at the moment. There is constant development going on, which is why there's a lot of news in general and also there are some news marked as "requires manual intervention", which pretty much all of them are "--overwrite" issues.
Now let me explain:
1. "Where is manual intervention required?"
The packages affected are usually not widely-used mainstream packages. Given the fact Arch serves thousands of libraries, these manual interventions actually happen very rarely or not at all and most of the time you're not even affected, since the library isn't installed anyway.
2. "Why is there a manual intervention required?"
For example because a developer or package maintainer made mistakes. (Check the latest news: "The zn_poly package prior to version 0.9.2-2 was missing a soname link. This has been fixed in 0.9.2-2, so the upgrade will need to overwrite the untracked files created by ldconfig.")
Specifying the --overwrite flag, you acknowledge that pacman is going to overwrite the files you mention.
Note that at that point, other Distributions require manual intervention as well. (dpkg would show a dialog window and ask how to proceed, as it does for example for configuration files)
If you do a dist-upgrade in Ubuntu/Debian you get a lot of those questions. Because a lot changed and there are many questions. These are all manual interventions. On rolling release distros you get those questions spread over the year and not just "at one point", when you do a major upgrade.
Show me the last 5 announcements where you had to do something. Usually (once a year) it boils down to the --overwrite flag in pacman, unless you have 10000 packages installed... The last 5 years, I didn't have to do anything else and I have quite diverse systems. So yes, somehow this seems to be a rumor to me
apt feels like a never finished wrapper for dpkg and it's just slow and fragile! Once started you should never abort it or you'll be running those --fix-missing stuff for the next hour
Lol especially since upgrading everything after 2 years is more risky and allows no "error backtracking" whereas applying a few updates once in a while is awesome and simple. But whatever floats debian people's boat haha
Why is it crap if it works perfectly fine and was designed for such a use?
Especially if you're unsure on how to partition your drives, it's a lot more intuitive and safe to use a minimal Gparted usb stick with a neat GUI than the archiso with only gdisk on it...
That looks really cool. Congratulations on writing that driver, stuff like this still seems almost unachievable to me; I have no idea on how to really start talking to the hardware...
I changed some stuff in my home network a few weeks ago as well, and I couldn't find a suitable software back then, but now that I see your fancy network diagram: Did you use a specific software for that? :)
Yes, definitely! :) For me, KDE provides so many useful applications, but it would be time consuming to pick all the required packages when installing, or maybe I'm just too lazy :P Also I guess the development modules I installed were required by projects from GitHub, etc., where I didn't get them in a virtual environment / via pip. Whoops :)
A lot of KDE packages (actually I installed the entire suite)
Some GNOME packages
Lots of python-* / perl-* / ruby-* packages
Maybe I'd be able to remove some of those what seem to be manually installed dependencies, but then again I risk to break some script/worker/whatever and me finding out in 2 months, then spending a weekend on finding what caused the problems...
Haha yes, that's exactly what you experienced there, nice! :)
Yes, you're correct, this is the case :)
The disk isn't encrypted by your password, but by a key. The key can only be retrieved with the correct password.
This allows having multiple passwords, since encryption only works with exactly one key.
Changing your password means the old password can no longer be used to retrieve the key, it does however not mean that the key itself has changed.
If the key is leaked at some point (e.g. by an old backup and known password) it can be used to decrypt the hard drive.
If you want to change the key (not sure if this is supported by LUKS) you would need to decrypt and reencrypt the entire hard drive. That is: for each block on the disk, decrypt it using the old key and encrypt it with the new one. This makes changing password a massive pain, and again encryption only supports one key. So that's why there is an "intermediate layer"
I hope that makes sense, still a bit early in the morning lol :)
+1 for OnlyOffice, presented my Bachelor's thesis with it, looked pretty clean, has a good presenter setup and I was even able to integrate videos into the presentation.
I use LibreOffice myself from time to time but sadly the templates really got stuck in 2001 at best.. No one likes those "see my screen got soooo many colors"-themes nowadays :/
In all those years I never wondered how they managed to do this and here I am reading your comment and thinking: damn, that makes perfect sense lol
Thanks!
I've been running Arch on a XPS13 7390 2-in-1 for a little bit more than a year now. Initially there were problems, because the touch driver wasn't fully available, but this had been fixed shortly after I got mine and it's been working fine ever since. Webcam and fingerprint drivers still aren't available, you might want to choose a Linux Edition Notebook, they will work there I think...
I use my notebook in combination with xournalpp to take notes or annotate PDFs and it's absolutely fine. Concerning power, I like to keep my system minimal, i.e. there's "no big DE" like KDE running, but only i3 and I think I get ~ 8-10h battery life, depends what you do obviously.
Both, the Ubuntu Wiki and the Arch wiki have a page dedicated to my model, see if they answer your questions :)
It opens on pressing F4 ;)
Also, the working directory in dolphin and the shell's working directory are coupled, i.e. if you cd or click through few folders, you'll always be on the same page.
Hmm yes he would need to shrink either the ext4 or the ntfs partition and move them such that there is free space. Might take some time to copy the data around but it's pretty simple if you use gparted :)
You should be able to increase the boot partition using a live USB. Go for the arch live iso and use gdisk if you feel comfortable, or use any other distribution with a graphical interface and use gparted to adjust the partition as you need it :) Mine is ~500MB and I never had issues...
You could try running mkinitcpio -p linux to regenerate the ramdisk. (Boot from a live usb, and chroot into your system.)
It's not my "ignorance" making me say that, it's your missing experience creating a misunderstanding, but I'll try to explain my point.
ArchLinux serves 11067 packages in the official repositories at the moment. There is constant development going on, which is why there's a lot of news in general and also there are some news marked as "requires manual intervention", which pretty much all of them are "--overwrite" issues.
Now let me explain:
1. "Where is manual intervention required?" The packages affected are usually not widely-used mainstream packages. Given the fact Arch serves thousands of libraries, these manual interventions actually happen very rarely or not at all and most of the time you're not even affected, since the library isn't installed anyway.
2. "Why is there a manual intervention required?" For example because a developer or package maintainer made mistakes. (Check the latest news: "The zn_poly package prior to version 0.9.2-2 was missing a soname link. This has been fixed in 0.9.2-2, so the upgrade will need to overwrite the untracked files created by ldconfig.")
Specifying the --overwrite flag, you acknowledge that pacman is going to overwrite the files you mention.
Note that at that point, other Distributions require manual intervention as well. (dpkg would show a dialog window and ask how to proceed, as it does for example for configuration files)
If you do a dist-upgrade in Ubuntu/Debian you get a lot of those questions. Because a lot changed and there are many questions. These are all manual interventions. On rolling release distros you get those questions spread over the year and not just "at one point", when you do a major upgrade.
Cheers.
Show me the last 5 announcements where you had to do something. Usually (once a year) it boils down to the --overwrite flag in pacman, unless you have 10000 packages installed... The last 5 years, I didn't have to do anything else and I have quite diverse systems. So yes, somehow this seems to be a rumor to me
I agree a 100% lol
apt feels like a never finished wrapper for dpkg and it's just slow and fragile! Once started you should never abort it or you'll be running those --fix-missing stuff for the next hour
Lol especially since upgrading everything after 2 years is more risky and allows no "error backtracking" whereas applying a few updates once in a while is awesome and simple. But whatever floats debian people's boat haha
Haha the "Rebooted without wpa_supplicant" part had me :')
I installed Arch so many times and every single fucking time I'd forget about wpa_supplicant and dialog :D Good job!
Why is it crap if it works perfectly fine and was designed for such a use?
Especially if you're unsure on how to partition your drives, it's a lot more intuitive and safe to use a minimal Gparted usb stick with a neat GUI than the archiso with only gdisk on it...
Can't agree more :)
Edit: I've got a ~70$ radio connected smoke detector over my setup (and distributed around the house)
These things have an integrated battery that is said to last for 10 up to 12 years. Incredibly cheap if you compare it to other hardware lol
I saw a lot of setups I like here, and my firefighter instincts kept telling me 'I'm surprised that's safe'
If you get a setup for 2000$ for your pleasure, you might want to get a smoke detector for 20$ for your life, too.
As others have mentionend, the smoke of the fire or extensive usage of a CO2 extinguisher might black you out and lead to inner suffocation.
So please, think of your emergency plan, before anything happens. If life was some service running on your setup, you would have a backup plan too.
That looks really cool. Congratulations on writing that driver, stuff like this still seems almost unachievable to me; I have no idea on how to really start talking to the hardware...
Wow, thank you very much! :)
18W for the pentium version? or the NUCs in general? I was really interested in that but couldn't find this anywhere.
Awesome thank you :) I expected some afvanced networking tool haha, it really looks cool!
That's a really nice setup!
I changed some stuff in my home network a few weeks ago as well, and I couldn't find a suitable software back then, but now that I see your fancy network diagram: Did you use a specific software for that? :)
Yes, definitely! :) For me, KDE provides so many useful applications, but it would be time consuming to pick all the required packages when installing, or maybe I'm just too lazy :P Also I guess the development modules I installed were required by projects from GitHub, etc., where I didn't get them in a virtual environment / via pip. Whoops :)
Hmm I looked at the list and saw:
Maybe I'd be able to remove some of those what seem to be manually installed dependencies, but then again I risk to break some script/worker/whatever and me finding out in 2 months, then spending a weekend on finding what caused the problems...