Users & Groups Flashcards

1
Q

What are the different user types?

A

standard (admin/non-admin)
root
system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the linux command to get information about a user?

A

id

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the linux command to see what logged in users are doing?

A

w

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the linux command to see what users are logged in?

A

who

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the linux command to run with root privileges?

A

sudo

substitute user do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the location of password credentials?

A

/etc/shadow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the location of groups belonging to a user?

A

/etc/group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is one way to centrally view all system and user accounts?

A

/etc/passwd

user: homedirectory
* can see all system accounts in this file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the linux command to create/delete a user?

A

useradd

userdel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the linux command to create/delete a group?

A

groupadd

groupdel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the linux command to modify an existing user?

A

usermod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the linux command to view user login history?

A

last

How well did you know this?
1
Not at all
2
3
4
5
Perfectly