I have disabled the root user login from Sshd.conf file so now no one can login using root user even if they know the password SOMEHOW.
Now I have 3 users in server ROOT,EMERG and ORACLE. I want to allow switching to ROOT only to EMERG user by using su - and not to ORACLE user.
because normally if users know the ROOT password they can switch to root using su -. And i want this feature available only to EMERG user.
How to do this
Thanks in advance......
sudo
it allows much better and finer grained access control. Plus it can authenticate users with their passwords.