09-30-2002
3,093,
36
Join Date: Apr 2002
Last Activity: 28 March 2019, 4:00 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks Given: 2
Thanked 36 Times in 11 Posts
A couple of things come to mind but how are you doing this as far as startup? Is root running the startup script and doing a su - to the oracle user? I didn't notice a problem with su - user when the code was in /etc/profile.
Anyway, you could check to see if a terminal (psuedo, virtual, physical) was associated with the process and then check your file of authorized users. This should allow startup to have no problems.
Or, you could change startup to move a 'startup only' telnet_users file which allowed oracle account access to start the processes, and then moves that file and replaces it with the original once Oracle is started.
I'm sure there are more ways and will allow some others to voice their opinions.
One other thing - if you are concerned with security, why do you let anyone telnet? You should use ssh, IMHO.