User commands and logs
The log with the name
auth.log records authorizations – that is, logons and logoffs on a system since the last time the system was booted (Figure 4). This information can be invaluable in checking patterns of usage and detecting any departures from the norm. Only the root user can view it.
user.log records the logins and logouts for the entire system, as well as any warnings that might indicate potential problems (Figure 5). In other words, this log is often a convenient point for troubleshooting general problems. As you might expect, only root can read this log.
Most commands have two types of options: Unix-like ones that are preceded by a single hyphen and are typically a single letter, and GNU options that are preceded by two hyphens and are usually a complete phrase that describes what they do. You can tell how old many of the user-related commands are by the fact that several of them have no GNU options whatsoever. In other words, when you are administering users, you are really getting down to the foundations of your operating system.
Buy this article as PDF
Lennart Poettering wants to change the way Linux developers talk to each other.
Enterprise giant frees itself from ink and home PCs (and visa versa).
Mozilla’s product think tank sinks silently into history.
TODO group will focus on open source tools in large-scale environments.
New tool will look like GParted but support a wider range of storage technologies.
New public key pinning feature will help prevent man-in-the-middle attacks.
Carnegie Mellon researchers say 3 million pages could fall down the phishing hole in the next year.
The US government rolls new best-practice rules for protecting SSH.
Klaus Knopper announces the latest version of his iconic Live Linux system.