Operating System - Linux
1830251 Members
2682 Online
110000 Solutions
New Discussion

How to disable all r* commands

 
Asteroid
New Member

How to disable all r* commands

I want to disable all r* commands.
What commands/action must be taken?
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: How to disable all r* commands

Disable every r* daemon in the /etc/xinetd.d directory, restart the xinetd service.

Maybe you can use chkconfig to disable r services.

If you don't want the rcommands to be executed on the local system as client, remove the execute permissions, delete the files or uninstall the package.

If you use Red Hat or similar, you can use:

rpm -qif /bin/command

To identify the package that installs that command, then you can remove the package with rpm -e.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?