Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2010, 12:09 PM   #1
Registered: Jan 2010
Posts: 61

Rep: Reputation: 0
Configuring rsh on ubuntu


I am using ubuntu 10.04. I installed inetutils-inetd,rsh-server & rsh-client. Created user "user1".

disabled firewall using the command
$ sudo ufw disable

$ su user1
$ cd ~
$ vi .rhosts
Entered ip address of another host and saved
$ chmod 600 .rhosts

Restarted the service by
$ sudo /etc/init.d/inetutils-inted restart

From other machine I typed 'rsh <ip> ls', it says

permission denied
cant' establish connection

When I issued 'tail -f /var/log/messages', I got no messages.

Please tell me, do I have to disable any other services to do this work.

Old 08-12-2010, 03:52 AM   #2
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
can you please provide below command output?

netstat -antulp | grep rsh

cat /etc/inetd.conf
Old 08-12-2010, 08:54 AM   #3
Registered: Jan 2010
Posts: 61

Original Poster
Rep: Reputation: 0
> netstat -antulp | grep rsh
Resulted nothing

> cat /etc/inetd.conf

# /etc/inetd.conf: see inetd(8) for further informations.
# Internet superserver configuration database
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
# Packages should modify this file by using update-inetd(8)
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#:INTERNAL: Internal services
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#time stream tcp nowait root internal

#:STANDARD: These are standard services.

#:BSD: Shell, login, exec and talk are BSD protocols.
shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd
login stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rlogind
exec stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rexecd

#:MAIL: Mail, news and uucp services.

#:INFO: Info services

#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."

#:RPC: RPC based services

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
Old 08-13-2010, 09:19 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.7, Centos 5.10
Posts: 16,919

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Can I ask why you're using the r* protocols; they are all plaintext, so zero security.
Why not ssh protocols?
Old 08-13-2010, 10:40 AM   #5
Registered: Jan 2010
Posts: 61

Original Poster
Rep: Reputation: 0

I am using in private network. All my old applications use rsh. Thats the reason.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
configuring wi-fi in ubuntu jethooo Linux - Newbie 6 09-12-2007 06:32 AM
Configuring rsh Brian Fograshy Linux - Newbie 4 04-23-2007 09:51 AM
configuring IP in ubuntu KelvinElegbede Linux - Newbie 9 05-30-2006 06:13 PM
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 10:34 AM
Problems configuring RSH in redhat 8.0 eddyh Linux - Newbie 0 10-16-2003 02:29 PM

All times are GMT -5. The time now is 01:59 AM.

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