Understanding Root User and Elevated Permissions Flashcards

1
Q

A special account for administration on a Linux Host

A

Root user

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

User that has access to all files and programs and has the ability to change ownership, permissions and modify user accounts

A

root/superuser/admin

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

This file is used to determine a user’s or groups sudo privileges.

A

sudoers file
sudoers.d is the drop in directory that is read along with the sudoers file to determine privileges.

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

The drop in directory that is used to help with organization and ordering of configurations

A

sudoers.d

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

This is the open ssh daemon config file.

A

/etc/ssh/sshd_config

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

In order to disable root logins?

A

Set the PErmitRootLogin option to no in the OpenSSH SSH Daemon config file

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

Used to edit the sudoers file.

A

visudo

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

This provides a lock on the sudoers file against multiple simultaneous edits, provides basic santity checks and checks for parse errors.

A

visudo

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

Allows users to run commands with a substitute user and group ID.

A

su

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

When run without arguments it defaults to running an interactive shell as the root user

A

su

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

These options when used with su will start the shell as a login shell with an environment similar to a real login shell

A

su -, -l and –login

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

Allows a user to execute a command as the super user or another user

A

sudo

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

These privileges are set in the sudoers file

A

sudo

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