Lesson 2: Managing Users and Groups

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:05 PM on 3/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

33 Terms

1
New cards

Superuser (root)

The account with full control over the Linux system

2
New cards

Root risk

Can change, delete, or break anything on the system

3
New cards

Why avoid root login

Security risk and potential for accidental damage

4
New cards

sudo

Run a command with temporary admin privileges

5
New cards

sudo benefit

Safer because it limits admin access to one command

6
New cards

su

Switch to another user account

7
New cards

su -

Switch to root with full environment (more powerful and risky)

8
New cards

Safer admin method

sudo

9
New cards
10
New cards

User account

An identity used to access the system

11
New cards

UID

A unique number that identifies a user in Linux

12
New cards

Create user

useradd username

13
New cards

Set password

passwd username

14
New cards

Delete user

userdel username

15
New cards

Login requirement

A user must have a password to log in

16
New cards
17
New cards

Group

A collection of users managed together

18
New cards

Group purpose

Manage permissions for multiple users at once

19
New cards

Create group

groupadd groupname

20
New cards

Add user to group

usermod -aG groupname username

21
New cards

Delete group

groupdel groupname

22
New cards
23
New cards

Query (Linux)

Checking information about users or groups

24
New cards

whoami

Shows current logged-in user

25
New cards

groups

Shows groups the current user belongs to

26
New cards

/etc/passwd

File that stores all users

27
New cards

/etc/group

File that stores all groups

28
New cards
29
New cards

User profile

Settings that load when a user logs in

30
New cards

Profile purpose

Customize environment and behavior for users

31
New cards

.bashrc

A file that controls user environment and commands

32
New cards

.profile

A file that sets login environment settings

33
New cards

Profile example

Run commands automatically at login

Explore top notes

note
Developmental Psych Chapter 17
Updated 1296d ago
0.0(0)
note
Rhetorical Devices
Updated 903d ago
0.0(0)
note
ELA midterm - 8
Updated 792d ago
0.0(0)
note
Developmental Psych Chapter 17
Updated 1296d ago
0.0(0)
note
Rhetorical Devices
Updated 903d ago
0.0(0)
note
ELA midterm - 8
Updated 792d ago
0.0(0)

Explore top flashcards

flashcards
Italian Numbers
118
Updated 1299d ago
0.0(0)
flashcards
apush unit 2 terms !!!!!!!
30
Updated 931d ago
0.0(0)
flashcards
Gopo chapter 3
24
Updated 1185d ago
0.0(0)
flashcards
Chem Ch. 11
24
Updated 1201d ago
0.0(0)
flashcards
BAN 6065 - Marketing Analytics
93
Updated 1131d ago
0.0(0)
flashcards
AP HuG Final Exam Vocabulary
72
Updated 699d ago
0.0(0)
flashcards
Italian Numbers
118
Updated 1299d ago
0.0(0)
flashcards
apush unit 2 terms !!!!!!!
30
Updated 931d ago
0.0(0)
flashcards
Gopo chapter 3
24
Updated 1185d ago
0.0(0)
flashcards
Chem Ch. 11
24
Updated 1201d ago
0.0(0)
flashcards
BAN 6065 - Marketing Analytics
93
Updated 1131d ago
0.0(0)
flashcards
AP HuG Final Exam Vocabulary
72
Updated 699d ago
0.0(0)