Remove Rsh

Support for security such as Firewalls and securing linux
RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Remove Rsh

Post by RRMedia » 2014/10/16 22:16:12

I'm having trouble removing rsh rlogin, could someone point me in the right direction on how to disable rsh in centos please? :)

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Remove Rsh

Post by gerald_clark » 2014/10/16 22:21:43

Use 'yum provides' to find the package that contains the file you want removed.
Then use 'yum remove' to remove the package.

man yum

RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Re: Remove Rsh

Post by RRMedia » 2014/10/16 22:47:15

gerald_clark wrote:Use 'yum provides' to find the package that contains the file you want removed.
Then use 'yum remove' to remove the package.

man yum
I get "/usr/bin/rlogin" but there is not such file or directory.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Remove Rsh

Post by gerald_clark » 2014/10/16 23:15:28

RRMedia wrote:I get "/usr/bin/rlogin" but there is not such file or directory.
What does that mean?

Why are you asking how to remove something that isn't there?

RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Re: Remove Rsh

Post by RRMedia » 2014/10/16 23:29:03

gerald_clark wrote:
RRMedia wrote:I get "/usr/bin/rlogin" but there is not such file or directory.
What does that mean?

Why are you asking how to remove something that isn't there?
I'm asking how to remove rsh rlogin because I have a rlogin prompt on port 514 that I can't disable...you can't log in but I still want it removed.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Remove Rsh

Post by gerald_clark » 2014/10/16 23:37:42

Did you try 'yum remove rsh-server' ?

RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Re: Remove Rsh

Post by RRMedia » 2014/10/16 23:50:55

gerald_clark wrote:Did you try 'yum remove rsh-server' ?
I can't remember if I tried rsh-server or not. I'm at work right now so I'll try when I get home in the a.m.

RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Re: Remove Rsh

Post by RRMedia » 2014/10/17 21:27:34

gerald_clark wrote:Did you try 'yum remove rsh-server' ?
Nothing, I'm lost at where its coming from since everything I read about it leads to a dead end. Rhel7's manual just says to remove it without any more detail.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Remove Rsh

Post by gerald_clark » 2014/10/17 22:56:35

What do you mean "Nothing" ?
Please be specific about what your real problem is.
You have yet to give a clear description of your problem.

RRMedia
Posts: 16
Joined: 2014/10/12 00:12:46

Re: Remove Rsh

Post by RRMedia » 2014/10/17 23:34:54

gerald_clark wrote:What do you mean "Nothing" ?
Please be specific about what your real problem is.
You have yet to give a clear description of your problem.
I'm not sure how I'm not being clear...Yum remove either finds the file and removes it or finds no match and does nothing and I already mentioned that I have a rlogin prompt on a port that I can't find and disable.

I don't understand why this forum is so hostile...I asked for people to be patient with me since I wasn't brought up with Unix or Unix-like systems.

Post Reply

Return to “CentOS 7 - Security Support”