This content has been marked as final. Show 4 replies
I'm not aware what "root login for oracle" means. Perhaps you mean to disable SSH login? In which case you can add "DenyUsers user1 user2 user3" in /etc/ssh/sshd_config and restart the ssh daemon using "service sshd restart"
Tnx for your help. we login via putty to remote linux box. what i want user has to login to the system using his own id . then he will do su - oracle. this is my requirement.
in my current system user is not using his own id , he is directly login with oracle..which i want to stop.
....... as dude say you only have to disable ssh login for user oracle and create local user accounts on that system.1 person found this helpful
You might want to keep in mind though that "su" will break X11 xauth authentication (ssh -X). Having to login as another user is another password layer, but does not necessarily give you more control who gets access. It depends on your password policies and the users maintaining them. It might be a good idea to be careful who receives the Oracle password. Not every access to Oracle requires the Oracle account password or SYSDBA access.