Managing Other Users Flashcards

1
Q

su [username]

A

switch user. if no username, computer assumes root

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

su -

A

creates an environment like the environment of the user in question

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

su -c

A

specify a command to be executed

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

whoami

A

tells you what user you are

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

sudo -l

A

tells you what commands you can run as sudo

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

sudo -s

A

start a shell as root

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

visudo

A

edit the sudo config file

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