Managing User Accounts

Christopher Negus · 2015

Adding and managing users are common tasks for Linux systems administrators. User accounts keep boundaries between the people who use your systems and between the processes that run on your systems. Groups are a way of assigning rights to your system that can be assigned to multiple users at once. This chapter describes the creation of a new user and how to create predefined settings and files to configure the user's environment. Tools such as the useradd and usermod commands are used to assign settings such as the location of a home directory, a default shell, a default group, and specific user ID and group ID values. The chapter explains how to add user accounts from the command line with useradd or change them with usermod command. It also discusses the use of Access Control Lists (ACLs) and shared directories to provide powerful ways to selectively share files and directories.

Read the paper · More papers on PaperTik