I thought you could only use
sudo to temporarily become
sudo vim /etc/resolv.conf
But recently I saw a shell snippet depicting a user using
sudo to become a specific user:
sudo -H -u devops -s
devops was not the original username. After becoming
devops, the user now had elevated privileges.
So are there ways of creating more than 1
root user? What is
devops's relation to
root in the example above? How do these elevated-but-not-quite-
root users get created/managed?
Also, same question, but for
Thanks in advance!