There are two option to take on the identity of another user:
Start shell as a root:
victor@rasp-4:~ $ su - Password: root@rasp-4:~# root@rasp-4:~# su -l victor victor@rasp-4:~ $
The difference from su:
Running any command as root without having to enter a password:
Example config for user victor (/etc/sudoers.d/010-victor-nopasswd):
victor ALL=(ALL) NOPASSWD: ALL
Which means:
Adding a user to the group:
# usermod -aG sudo victor # 'a' - append; 'G' - group