Understanding logind.conf
The /etc/systemd/logind.conf
file is the configuration file for the systemd-logind
service. Now, before we get too far, I want to recommend that you use a text-mode virtual machine for this section. The demos will have you make several changes to the logind.conf
file, and you'll need to restart the systemd-logind
service after each one. If you do that on a graphical mode machine, you'll get logged out of the desktop, and will have to log back in. The desktop doesn't always come back up correctly, and you'll end up having to restart the machine. With a text-mode machine, that isn't a problem. So, since the Ubuntu Server machine is already in text mode, we'll use it for the demos.
The good news is that the logind.conf
file is identical on both the Ubuntu machine and the Alma machine. Here's what it looks like:
As is the case with all of the configuration...