Enable/Disable rlogin and rcopy

How can i disable rlogin or rcopy from being running as a services in my system ? is there a way ? and is it gonna affect other remote services like ssh and telnet ?

yes, comment them out in /etc/inetd.conf in Solaris < 10

Then send a HUP to inetd

It won't affect any service you don't comment out.

In solaris 10 you can use inetadm.

If you're running Solaris 9 or less, check /etc/inetd.conf. Comment out the services and kill -HUP (inet process id) to reread the conf file.

If you're running Solaris 10, you'll have to check the /etc/inetd.conf file. I believe it tells you what the correct command is now. Something like svcadm -d rlogin for example.

But it won't bother sshd since it's a separate service. telnet is run from inet though but commenting out the r services won't affect that.

Carl

Thanks so much.