I am logged in as myuser
.
When doing su - someuser
I need to give password for user someuser
I tried this sudo su - someuser
and I had to give only my password.
My question is why didn't I have to give password of someuser
? Is it because the leading sudo
gave me root
privilege and so I did not need to give password for someuser
?
Which man page is this documented ?