Good News:
Linux home directory management is about to undergo major change:
With systemd 245 comes systemd-homed. Along with that, Linux admins will have to change the way they manage users and users' home directories.
[...] Prior to systemd every system and resource was managed by its own tool, which was clumsy and inefficient. Now? Controlling and managing systems on Linux is incredibly easy.
But one of the creators, Leannart Poettering, has always considered systemd to be incomplete. With the upcoming release of systemd 245, Poettering will take his system one step closer to completion. That step is by way of homed.
[...] let's take a look at the /home directory. This is a crucial directory in the Linux filesystem hierarchy, as it contains all user data and configurations. For some admins, this directory is so important, it is often placed on a separate partition or drive than the operating system. By doing this, user data is safe, even if the operating system were to implode.
However, the way /home is handled within the operating system makes migrating the /home directory not nearly as easy as it should be. Why? With the current iteration of systemd, user information (such as ID, full name, home directory, and shell) is stored in /etc/passwd and the password associated with that user is stored in /etc/shadow. The /etc/passwd file can be viewed by anyone, whereas /etc/shadow can only be viewed by those with admin or sudo privileges.
[...] Poettering has decided to make a drastic change. That change is homed. With homed, all information will be placed in a cryptographically signed JSON record for each user. That record will contain all user information such as username, group membership, and password hashes.
Each user home directory will be linked as LUKS-encrypted containers, with the encryption directly coupled to user login. Once systemd-homed detects a user has logged in, the associated home directory is decrypted. Once that user logs out, the home directory is automatically encrypted.
[...] Of course, such a major change doesn't come without its share of caveats. In the case of systemd-homed, that caveat comes by way of SSH. If a systemd-homed home directory is encrypted until a user successfully logs in, how will users be able to log in to a remote machine with SSH?
The big problem with that is the .ssh directory (where SSH stores known_hosts and authorized_keys) would be inaccessible while the user's home directory is encrypted. Of course Poettering knows of this shortcoming. To date, all of the work done with systemd-homed has been with the standard authentication process. You can be sure that Poettering will come up with a solution that takes SSH into consideration.
Older articles:
Will systemd be considered complete once the kernel and boot loader have been absorbed into systemd?
(Score: 2) by janrinok on Saturday May 02 2020, @12:43PM (3 children)
As for my 'true colours', I can only point out the claimed advantages [linuxreviews.org] including enhanced security of a user's data:
As someone who does encrypt all of his data the security benefits are of interest to me but, of course, these may not be of interest to everybody. And the use of homed is entirely optional by using 'systemctl mask homed' which prevents it from ever being started even if another service depends upon it.
Again, I apologise if I have inadvertently caused you any offence.
I am not interested in knowing who people are or where they live. My interest starts and stops at our servers.
(Score: 2) by gtomorrow on Saturday May 02 2020, @01:26PM (2 children)
1...2...3...4...5...6...7..8...9...
...and yet, here you are again. Non-comment-reading-yet-still-replying, thread-losing, obtuse janrinok. The same janrinok who I explained in my last reply that my /home folder is encrypted, hence my concern about homed.
I'm no more "offended" by you than by anyone else who butts into my conversation with someone else and then has the nerve to reprimand me. I think "annoyed" is more the word. Thanks for nothing for your "I feel I have to apologize but I'm not sure why" apology. You could have saved yourself the trouble by just not responding.
Don't go away mad...
(Score: 0) by Anonymous Coward on Saturday May 02 2020, @01:55PM
lol we can tell who is mad in this thread. But I don't blame you for raging, I blame Poettering.
(Score: 2) by janrinok on Saturday May 02 2020, @02:05PM
I am not interested in knowing who people are or where they live. My interest starts and stops at our servers.