User Management In Linux/Unix Systems – A Quick Guide – Applied InformaticsSince Linux is a multi-user operating system, several people may be logged in and actively working on a given machine at the same time. Security-wise, it is never a good idea to allow users to share the credentials of the same account. In fact, best practices dictate the use of as many user accounts as people needing access to the machine. At the same time, it is to be expected that two or more users may need to share access to certain system resources, such as directories and files. User and group management in Linux allows us to accomplish both objectives. Adding a new user involves dealing with an account other than your own which requires superuser aka root privileges.
User And Group Administration On Linux Part 2 of 4
Learn Linux, 101: Manage user and group accounts and related system files
Linux is a multi-user operating system i. For this multi-user design to work properly there needs to be a method to enforce concurrency control. This is where permissions come in to play. There are three basic access rights viz. Below is sample output for the ls command:.
In this chapter, we will discuss in detail about user administration in Unix. User accounts provide interactive access to the system for users and groups of users.
c how to program 8th edition pdf free download
Adding a User Account
Infrastructure Linux Systems. Ownership of files in Linux is closely related to user IDs and groups. Recall that you can log in as one user and become another user by using the su or sudo -s sudo-s commands. And recall that you can use the whoami command to check your current effective ID, and the groups command to find out which groups you belong to. In this tutorial, you learn how to create, delete, and manage users and groups. This series of tutorials helps you learn Linux system administration tasks.