Chapter 1. Managing Users and Groups

In this chapter, we will cover the following recipes:

  • Creating a user account
  • Creating user accounts in batch mode
  • Creating a group
  • Adding group members
  • Deleting a user account
  • Managing file permissions
  • Getting root privileges with sudo
  • Setting resource limits with limits.conf
  • Setting up public key authentication
  • Securing user accounts

Introduction

In this chapter, you will see how to add new users to the Ubuntu server, update existing users, and set permissions for users. You will get to know the default setting for new users and how to change them. Also, you will take a look at secure shell (SSH) access and securing user profiles.

Get Ubuntu Server Cookbook 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.