There is a requirement I got. My sudo users (for which their entry in sudoers file) should be able to access other user's account say Oracle using following command:
sudo su - Oracle
The above should work with giving current users password.
But if the same user is firing the following command:
sudo su -
it shouldn't work and thus root access shouldnt be given to current user.
I am not using su because because I don't want current user to know the credentials of other user (root,Oracle etc.).