My question is during the
CompTIA Linux+ (XK0-004) (In Production)
Class Don stated that when you sudo you enter the root password, I thought that when you sudo'd you entered your password and the authentication was based on the fact if you were in the sudoers file or not.
To use sudo you do not have to know the root password. In /etc/sudoers you would have to enter
Defaults rootpw in order for sudo to ask for the root password, this is not the default.
sudo <command> or sudo -i ask for your password not the root password.
if you su - then you have to enter the root password because you are starting a root shell.
Not trying to nit pick you just wanted to know the correct answer. Am I missing something.