LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-08-2011, 07:44 AM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Rep: Reputation: 32
what rpm or filesets contain rsh


I noticed that part of our build install rsh commands .rpm. I am trying to find out what rpm or bundles they are contained in.

I did a yum what provides and it gave me back a bunch of stuff but nothing pointed to rsh.


We build using the satellite server and kickstart files. I want to prevent these rsh rpm from installing on the systems. We don't configure or use it so we don't need it installed. More secure that way.

Any idea on how to remove them from the kickstart file

I know if it do an rpm -qa |grep -i rsh this is what I get :
rsh-0.17-40.el5


This is what I am installing in the kickstart file under the software tab

@ Base
@admin-tools
@base
@core
@editors
@gnome-desktop
@graphical-internet
@graphics
@java
@legacy-software-support
@text-internet
@base-x
kexec-tools <<<<<<<<<<<<<could this be the fileset?
fipscheck
device-mapper-multipath
sgpio
emacs
libsane-hpaio
xorg-x11-utils
xorg-x11-server-Xnest
tftp
expect

Well after reading this link I don think its kexec

http://www.ibm.com/developerworks/li...xec/index.html

Last edited by unix1adm; 11-08-2011 at 07:45 AM.
 
Old 11-08-2011, 07:50 AM   #2
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
I ran a yum search rsh and got this back but still not sure what filesets in the kickstart I need to remove.

# yum search rsh
Loaded plugins: rhnplugin, security
================================= Matched: rsh =================================
lam.x86_64 : The LAM (Local Area Multicomputer) programming environment.
lam.i386 : The LAM (Local Area Multicomputer) programming environment.
fonts-sinhala.noarch : Fonts for Sinhala
openssh.x86_64 : The OpenSSH implementation of SSH protocol versions 1 and 2
rsh.x86_64 : Clients for remote access commands (rsh, rlogin, rcp).
rsh-server.x86_64 : Servers for remote access commands (rsh, rlogin, rcp).
tcp_wrappers.i386 : A security tool which acts as a wrapper for TCP daemons.
tcp_wrappers.x86_64 : A security tool which acts as a wrapper for TCP daemons.
ws-jaxme.noarch : Open source implementation of JAXB
 
Old 11-08-2011, 07:56 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Indeed it should be provided by the rsh package. If you want to exclude a package in the kickstart file, prepend an hyphen to the package name, e.g.
Code:
-rsh
 
Old 11-08-2011, 08:43 AM   #4
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by colucix View Post
Indeed it should be provided by the rsh package. If you want to exclude a package in the kickstart file, prepend an hyphen to the package name, e.g.
Code:
-rsh

Right but what is the package name? Just -rsh in the software area?

EDIT: That -rsh worked great

Last edited by unix1adm; 11-08-2011 at 09:42 AM.
 
Old 11-08-2011, 09:00 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Try
Code:
# yum whatprovides '*/bin/rsh'
<omitted>
rsh-0.17-60.el6.i686 : Clients for remote access commands (rsh, rlogin, rcp)
Repo        : base
Matched from:
Filename    : /usr/bin/rsh



krb5-appl-clients-1.0.1-1.el6.i686 : Kerberos-aware telnet, ftp, rcp, rsh and rlogin clients
Repo        : base
Matched from:
Filename    : /usr/kerberos/bin/rsh
This is the result on my CentOS 6 box. If you get similar results, you can safely exclude the above two packages by specifying
Code:
-rsh
-krb5-appl-clients
in the software section of your kickstart configuration file.
 
Old 11-08-2011, 01:27 PM   #6
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
thank you for that info. base was what i was looking for. I'll just exclude as mentioned above.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -ivh rsh..... hangs rohit.dhaval1 Linux - Newbie 5 10-16-2010 04:37 PM
[SOLVED] error updating filesets unix1adm Fedora 1 09-30-2009 06:56 AM
how to install rsh RPM package on linux 5 pdgm2009 Linux - General 4 04-16-2009 08:32 AM
rsh-server rpm location liquidcourage1 Linux - Enterprise 8 04-30-2008 04:45 PM
DVD burning using VOB filesets in Linux ray08 Linux - Software 4 06-09-2004 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration