Presentation is loading. Please wait.

Presentation is loading. Please wait.

Administering Users and Groups

Similar presentations


Presentation on theme: "Administering Users and Groups"— Presentation transcript:

1 Administering Users and Groups
Unit – 6 Chap - 2 Administering Users and Groups

2 Administering User Accounts
Administering users and groups, or, more precisely, administering user and group accounts, is a fundamental Linux system administration activity. Ordinarily, most people understand user accounts as accounts tied to a particular physical user.

3 Administering User Accounts
Other than this distinction between real and logical user accounts, there are few substantive differences between actual and logical users. In particular, both actual and logical have user identification numbers (UIDs), numeric values that the kernel and many applications use instead of the account name. Ordinarily, each user account has a unique UID (on a given system), but this is not strictly required

4 Working with User Accounts
Table below lists the commands for adding, modifying, and deleting user accounts. You use the following commands most often: ■■ useradd — Create user login accounts ■■ userdel — Delete user login accounts ■■ usermod — Modify user login accounts ■■ passwd — Set or change account passwords ■■ chsh— Set or change a user’s default shell ■■ chage — Modify password expiration information The User Database Files To understand the following discussion, you need to know the format of the user database files, /etc/passwd and /etc/shadow. Each line in both files consists of colon-separated fields, one line per user. The format of the password file, /etc/passwd, is: username:password:

5 Administering Users and Groups with User Manager
User Manager is a graphical tool for administering user and group accounts. To use it, you must be logged in as root or otherwise have root access. To start User Manager, click Main Menu ➪ System Settings ➪ Users and Groups. You can start from a command line using the command system-config-users in a terminal window.

6


Download ppt "Administering Users and Groups"

Similar presentations


Ads by Google