Questions

  1. Which command should you place in front of commands that require root privileges?
  2. Name at least one of the two commands you can use to create a new user on Ubuntu Server.
  3. Which command can you use to remove a user?
  4. Which two files on the Linux filesystem store information regarding user accounts?
  5. What is the name of the directory that stores default configuration files for users?
  6. Assuming you have a user named jdoe, what command would you type to switch to that user?
  7. Assuming you want to create a group named accounting what command would you use to accomplish that?
  8. To add an expiration date to a password, you would use the ____ command.
  9. You should use the _____ command to give a user access to sudo.
  10. The ______ command allows you ...

Get Mastering Ubuntu Server - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.