Understanding Root User and Elevated Permissions Flashcards
A special account for administration on a Linux Host
Root user
User that has access to all files and programs and has the ability to change ownership, permissions and modify user accounts
root/superuser/admin
This file is used to determine a user’s or groups sudo privileges.
sudoers file
sudoers.d is the drop in directory that is read along with the sudoers file to determine privileges.
The drop in directory that is used to help with organization and ordering of configurations
sudoers.d
This is the open ssh daemon config file.
/etc/ssh/sshd_config
In order to disable root logins?
Set the PErmitRootLogin option to no in the OpenSSH SSH Daemon config file
Used to edit the sudoers file.
visudo
This provides a lock on the sudoers file against multiple simultaneous edits, provides basic santity checks and checks for parse errors.
visudo
Allows users to run commands with a substitute user and group ID.
su
When run without arguments it defaults to running an interactive shell as the root user
su
These options when used with su will start the shell as a login shell with an environment similar to a real login shell
su -, -l and –login
Allows a user to execute a command as the super user or another user
sudo
These privileges are set in the sudoers file
sudo