Operating System - HP-UX
1855237 Members
3453 Online
104109 Solutions
New Discussion

disabling "telnet -l" and "rlogin -l"

 
niemingxin_1
New Member

disabling "telnet -l" and "rlogin -l"

I am unsure if anyone has this kind of requirement before. We don't want to disable the whole telnet or rlogin services. But we just want to disable "telnet -l" and "rlogin -l"

The suituation we are facing is that we have oracle server installed on our HP-UX with user oracle. We have several oracle DBAs and they all know the password of oracle and they tend to use "telnet -l oracle" and "rlogin -l oracle" to connect. This is out of control and we cannot trace who connect using oracle account.

So we want to disable "telnet -l" and "rlogin -l" so the DBAs can only telnet or rlogin using their own account then su to oracle. In this way we can audit who su to oracle. So any suggestions or solutions??
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: disabling "telnet -l" and "rlogin -l"

Steven E. Protter
Exalted Contributor

Re: disabling "telnet -l" and "rlogin -l"

same thing cut and paste mode

vi /etc/inetd.conf

comment out the line that says telnetd in it.

Comment out all lines that have the rexec , etc protocols

save

inetd -c

Done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com