User Account Management

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

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:13 PM on 5/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

What account has full administrative privileges in Linux?

root account

2
New cards

When should the root account be used?

only when absolutely necessary

3
New cards

What type of account do most Linux distributions prompt you to create for daily tasks during setup?

a regular user account

4
New cards

How can you temporarily elevate privileges instead of staying logged in as root?

use special commands

5
New cards

What does the su command do?

switches to the specified user's account

6
New cards

How do you use su to switch to a specific user?

su username

7
New cards

How do you use su to switch to the root account?

omit the username

8
New cards

What password does su prompt for before switching?

the target account's password

9
New cards

What happens when su is used without options?

the original user's profile and home directory are retained

10
New cards

Why is su - a better practice than su without options?

it switches to the root account and starts a new shell with root's environment

11
New cards

What does the sudo command allow?

users listed in /etc/sudoers to run specified commands with superuser privileges

12
New cards

How is sudo typically used?

sudo followed by the desired command

13
New cards

When might sudo ask for a password?

if it hasn't been cached recently

14
New cards

What is the main advantage of sudo over su?

the root password does not need to be shared among multiple administrators

15
New cards

Which file stores user settings?

/etc/passwd

16
New cards

Which file stores group settings?

/etc/group

17
New cards

Which file typically stores encrypted password hashes and password settings like age and expiration date?

/etc/shadow

18
New cards

Which commands add, modify, and delete user information?

useradd, usermod, and userdel

19
New cards

Which command changes passwords?

passwd

20
New cards

Why are user accounts assigned to groups?

to manage file permissions

21
New cards

Which commands manage group memberships?

groupadd, groupmod, and groupdel

22
New cards

How many groups can a user belong to, and how many effective group IDs can they have at a time?

multiple groups, but only one effective group ID at a time

23
New cards

Where is the effective group ID listed?

/etc/passwd

24
New cards

Which command changes the effective group ID?

newgrp