Download presentation
Presentation is loading. Please wait.
1
Administering Users and Groups
Created by Ashish Shah, J.M.Patel College of Commerce Administering Users and Groups Unit – 6 Chap - 2
2
Administering User Accounts
Created by Ashish Shah, J.M.Patel College of Commerce 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
Created by Ashish Shah, J.M.Patel College of Commerce 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
Created by Ashish Shah, J.M.Patel College of Commerce 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
Created by Ashish Shah, J.M.Patel College of Commerce 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
Created by Ashish Shah, J.M.Patel College of Commerce
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.