From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Manage special purpose and limited accounts

Manage special purpose and limited accounts - Linux Tutorial

From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Start my 1-month free trial

Manage special purpose and limited accounts

- [Instructor] Most accounts in Linux are the same in that the user accounts with user IDs higher than 500 or 1000 depending on how the system was set up. You can see this configuration setting by viewing the /etc/login.defs file. In the terminal, type in cat /etc/login.defs and hit Enter. On CentOS, the starting UID for regular users is 1000. This is common across most current distributions. All user accounts with IDs less than 1000 are system accounts and often, they're not login accounts, meaning the users can run processes and own files, but they cannot log in to a shell. We can see this by looking at the /etc/password file. Type in cat /etc/password and hit Enter. If we look at the last column for each user, we can see which ones are login users because the shell will be /bin/bash or another login shell. If the account is not a login user, it will have /sbin/nologin or /bin/false. We could also have login users that…

Contents