Root User and Elevated Permissions Flashcards
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.
Root user/Super user/Admin
A file used to determine privileges for a user or group
/etc/sudoers and /etc/sudoers.d
The openSSH daemon config file.
/etc/ssh/sshd_config
Allows a user to execute a command as the superuser or another user using -u option
sudo
the -i or –loginoption will execute an interactive shell if no command is specifed
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.
visudo
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
su
-, -l and –login options will start the shell as a login shell with an enviornment similar to a real login shell
file to set the permitrootlogin option to no
etc/ssh/ssh_config