FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-11-2011, 04:42 AM
"James A. Peltier"
 
Default Odd issue with C6 and rsh

----- Original Message -----
| Okay, I'm getting frustrated here. C6 has been a bit of a bear. It
| looks like I am also having trouble with rsh on C6 with just @core as
| well. At least with the NIS stuff I was able to determine rather
| easily why it wasn't working, but with rsh on workstation working and
| only on my server with @core, I can't seem to figure out what the
| package is that I am missing to make rsh on C6 work. Hints please...


BTW: This is all I get

Oct 10 21:24:31 daat xinetd[2203]: bind failed (Address already in use (errno = 98)). service = shell
Oct 10 21:24:31 daat xinetd[2203]: Service shell failed to start and is deactivated.
Oct 10 21:24:31 daat xinetd[2203]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Oct 10 21:24:31 daat xinetd[2203]: Started working: 2 available services
Oct 10 21:26:41 daat rsyslogd: Framing Error in received TCP message: delimiter is not SP but has ASCII value 0.
Oct 10 21:32:23 daat rsyslogd: Framing Error in received TCP message: delimiter is not SP but has ASCII value 0.


Fresh install using following packages

%packages
@core
augeas
autofs
dstat
nfs-utils
ntp
openssh
openssh-clients
openssh-server
portreserve
puppet
redhat-lsb
rsh-server
sendmail
sendmail-cf
sudo
sysstat
tcp_wrappers
wget
xinetd
yp-tools
yum-utils
%end

--
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 04:59 AM
John R Pierce
 
Default Odd issue with C6 and rsh

On 10/10/11 9:39 PM, James A. Peltier wrote:
> It looks like I am also having trouble with rsh on C6 ...


rsh was deprecated 10+ years ago, along with all the other r things...
they aren't even remotely secure and using them is sloppy practice, even
on a private network.



--
john r pierce N 37, W 122
santa cruz ca mid-left coast

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 05:12 AM
"James A. Peltier"
 
Default Odd issue with C6 and rsh

----- Original Message -----
| On 10/10/11 9:39 PM, James A. Peltier wrote:
| > It looks like I am also having trouble with rsh on C6 ...
|
|
| rsh was deprecated 10+ years ago, along with all the other r things...
| they aren't even remotely secure and using them is sloppy practice,
| even
| on a private network.
|
|
|
| --
| john r pierce N 37, W 122
| santa cruz ca mid-left coast
|
| _______________________________________________
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos

Tell that to the engineering software vendors who require the service in order to properly operate. If I didn't already know that, obviously I wouldn't be posting this as I use SSH keys for most other services.

--
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 08:37 AM
Akemi Yagi
 
Default Odd issue with C6 and rsh

On Mon, Oct 10, 2011 at 10:12 PM, James A. Peltier <jpeltier@sfu.ca> wrote:
> ----- Original Message -----
> | On 10/10/11 9:39 PM, James A. Peltier wrote:
> | > It looks like I am also having trouble with rsh on C6 ...

> | rsh was deprecated 10+ years ago, along with all the other r things...
> | they aren't even remotely secure and using them is sloppy practice,
> | even
> | on a private network.

> Tell that to the engineering software vendors who require the service
> in order to properly operate. *If I didn't already know that, obviously
> I wouldn't be posting this as I use SSH keys for most other services.

I am exactly in the same situation. Our IT department allows access to
their tape archiver only by way of '/usr/bin/rsh server command'. For
well >15 years now.

In my case, what I needed to get it to work was :

(1) install /usr/bin/rsh by 'yum install rsh'

(2) Add the following to iptables :

-A INPUT -p tcp -m state --state NEW -m tcp -s [server IP] --dport
1011:1023 -j ACCEPT

You may want to adjust the port range by examining the ports used for
inbound connections from the server.

Hope this helps,

Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 04:12 PM
"James A. Peltier"
 
Default Odd issue with C6 and rsh

----- Original Message -----
| On Mon, Oct 10, 2011 at 10:12 PM, James A. Peltier <jpeltier@sfu.ca>
| wrote:
| > ----- Original Message -----
| > | On 10/10/11 9:39 PM, James A. Peltier wrote:
| > | > It looks like I am also having trouble with rsh on C6 ...
|
| > | rsh was deprecated 10+ years ago, along with all the other r
| > | things...
| > | they aren't even remotely secure and using them is sloppy
| > | practice,
| > | even
| > | on a private network.
|
| > Tell that to the engineering software vendors who require the
| > service
| > in order to properly operate. If I didn't already know that,
| > obviously
| > I wouldn't be posting this as I use SSH keys for most other
| > services.
|
| I am exactly in the same situation. Our IT department allows access to
| their tape archiver only by way of '/usr/bin/rsh server command'. For
| well >15 years now.
|
| In my case, what I needed to get it to work was :
|
| (1) install /usr/bin/rsh by 'yum install rsh'
|
| (2) Add the following to iptables :
|
| -A INPUT -p tcp -m state --state NEW -m tcp -s [server IP] --dport
| 1011:1023 -j ACCEPT
|
| You may want to adjust the port range by examining the ports used for
| inbound connections from the server.
|
| Hope this helps,
|
| Akemi

Did you install just @core? I have done @core as described earlier with rsh and rsh-server and it just hangs so I'm missing something. On the workstation install it works using the exact same setup so I think I'm missing a package somewhere, I'm just not sure which one.

--
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 04:33 PM
Akemi Yagi
 
Default Odd issue with C6 and rsh

On Tue, Oct 11, 2011 at 9:12 AM, James A. Peltier <jpeltier@sfu.ca> wrote:

> Did you install just @core? *I have done @core as described earlier with rsh and rsh-server and it just hangs so I'm missing something. *On the workstation install it works using the exact same setup so I think I'm missing a package somewhere, I'm just not sure which one.

Mine is more like a workstation type install.

Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 04:59 PM
"James A. Peltier"
 
Default Odd issue with C6 and rsh

----- Original Message -----
| On Tue, Oct 11, 2011 at 9:12 AM, James A. Peltier <jpeltier@sfu.ca>
| wrote:
|
| > Did you install just @core? I have done @core as described earlier
| > with rsh and rsh-server and it just hangs so I'm missing something.
| > On the workstation install it works using the exact same setup so I
| > think I'm missing a package somewhere, I'm just not sure which one.
|
| Mine is more like a workstation type install.
|
| Akemi

Drat!

--
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 08:03 PM
Ljubomir Ljubojevic
 
Default Odd issue with C6 and rsh

Vreme: 10/11/2011 06:59 PM, James A. Peltier piše:
> ----- Original Message -----
> | On Tue, Oct 11, 2011 at 9:12 AM, James A. Peltier<jpeltier@sfu.ca>
> | wrote:
> |
> |> Did you install just @core? I have done @core as described earlier
> |> with rsh and rsh-server and it just hangs so I'm missing something.
> |> On the workstation install it works using the exact same setup so I
> |> think I'm missing a package somewhere, I'm just not sure which one.
> |
> | Mine is more like a workstation type install.
> |
> | Akemi
>
> Drat!
>

Maybe attempt to build rsh*.src.rpm would reveal missing dependencies?

--

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 08:11 PM
William Hooper
 
Default Odd issue with C6 and rsh

On Tue, Oct 11, 2011 at 12:39 AM, James A. Peltier <jpeltier@sfu.ca> wrote:
> Okay, I'm getting frustrated here. *C6 has been a bit of a bear. *It looks like I am also having trouble with rsh on C6 with just @core as well. *At least with the NIS stuff I was able to determine rather easily why it wasn't working, but with rsh on workstation working and only on my server with @core, I can't seem to figure out what the package is that I am missing to make rsh on C6 work. *Hints please...
>

Use "which rsh" to see what binary each is running. Your workstation
install might be using the kerberos version. Here is what Centos 5
has to say:

$ which rsh
/usr/kerberos/bin/rsh
$ rpm -q --whatprovides /usr/kerberos/bin/rsh
krb5-workstation-1.6.1-62.el5
$ rpm -q --whatprovides /usr/bin/rsh
rsh-0.17-40.el5

Notice that the kerberos version is first in the path.

--
William Hooper
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2011, 08:21 PM
"James A. Peltier"
 
Default Odd issue with C6 and rsh

----- Original Message -----
| On Tue, Oct 11, 2011 at 12:39 AM, James A. Peltier <jpeltier@sfu.ca>
| wrote:
| > Okay, I'm getting frustrated here. C6 has been a bit of a bear. It
| > looks like I am also having trouble with rsh on C6 with just @core
| > as well. At least with the NIS stuff I was able to determine rather
| > easily why it wasn't working, but with rsh on workstation working
| > and only on my server with @core, I can't seem to figure out what
| > the package is that I am missing to make rsh on C6 work. Hints
| > please...
| >
|
| Use "which rsh" to see what binary each is running. Your workstation
| install might be using the kerberos version. Here is what Centos 5
| has to say:
|
| $ which rsh
| /usr/kerberos/bin/rsh
| $ rpm -q --whatprovides /usr/kerberos/bin/rsh
| krb5-workstation-1.6.1-62.el5
| $ rpm -q --whatprovides /usr/bin/rsh
| rsh-0.17-40.el5
|
| Notice that the kerberos version is first in the path.
|
| --
| William Hooper

I'm just using /usr/bin/rsh, so the non-kerberized version in both locations

--
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org