Some Advanced Linux Concepts For DevOps
Some Advanced Linux Concepts For DevOps
Swipe Left
PRATIK BONDRE
01 USER MANAGEMENT IN LINUX
1.1 Key Aspects of User Management
User Creation: sudo useradd username -
Add new users.
Authentication: Verify with passwords,
MFA, or biometrics.
Authorization: Set permissions and roles.
Roles and Permissions: Configure user
roles.
User Profiles: Manage personal info and
settings.
Password Management: Use sudo
passwd username to set/change
passwords.
Account Deactivation: sudo userdel
username to remove users.
Audit & Monitoring: Track user activities.
Self-Service: Allow users to manage
accounts.
1.2 User Accounts in Linux
Purpose: Control access and system
processes.
Identification: Use usernames and
UIDs.
Types:
Superuser (root): Full system
access.
System User: For services.
Regular User: Standard access.
3.2 Prerequisites
SSH Client: Use ssh command (pre-
installed on Unix-based systems).
SSH Server: Must be running on the
remote server.
3.3 Basic SSH Command
Syntax: ssh [options]
username@hostname
Basic Connection: ssh user@hostname
Specify Port: ssh -p 2222 user@hostname
Using Identity File: ssh -i ~/.ssh/my_key
user@hostname
DON’T FORGET TO
LIKE, SHARE IF YOU
FOUND THIS POST
HELPFUL