Understanding loginctl
Another bit of good news is that loginctl
works identically on both Ubuntu and Alma. You can use it to keep an eye on what other users are doing, change certain settings for a user's login environment, or even as a security tool to get rid of malicious users.
Note
For this section, we'll continue with the Ubuntu Server machine. Create user accounts for Pogo, Vicky, and Frank, if you haven't already done so. Log yourself in from the local terminal, and again from a remote terminal. Do Ctrl-Alt-F2 on the virtual machine to get to the second virtual terminal, and have Vicky log in there. Then, have Pogo and Frank log in from their own remote terminals.
Before we get into the real meat of the matter, we need to define a couple of terms:
- session: A session gets created whenever a user logs into the system. Each session is assigned a decimal number as its ID.
- seat: A seat consists of all of the hardware that is assigned to a specific...