Root User and Elevated Permissions Flashcards

1
Q

A special user account used for administration on a linux host. Has access o all files and programs and has the ability to change ownership, permissions, and modify user acounts.

A

Root user/Super user/Admin

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

A file used to determine privileges for a user or group

A

/etc/sudoers and /etc/sudoers.d

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

The openSSH daemon config file.

A

/etc/ssh/sshd_config

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

Allows a user to execute a command as the superuser or another user using -u option

A

sudo
the -i or –loginoption will execute an interactive shell if no command is specifed

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

Used to edit the sudoers file. It provides a lock on the file against multiple simultaneous edits, provides basic santiy checks and checks for parse errors.

A

visudo

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

Alllows users to run commands with a substitute user and group ID. When run without arguments su defaults to running an interactive shell as the root user

A

su
-, -l and –login options will start the shell as a login shell with an enviornment similar to a real login shell

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

file to set the permitrootlogin option to no

A

etc/ssh/ssh_config

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