LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-11-2010, 11:09 AM   #1
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Rep: Reputation: 0
Configuring rsh on ubuntu


Hi,

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.

Thanks
uv
 
Old 08-12-2010, 02:52 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

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

Code:
netstat -antulp | grep rsh

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

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

> cat /etc/inetd.conf

Quote:
# /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, 08:19 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Can I ask why you're using the r* protocols; they are all plaintext, so zero security.
http://www.informit.com/articles/art...p=169465&rll=1
Why not ssh protocols?
 
Old 08-13-2010, 09:40 AM   #5
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Original Poster
Rep: Reputation: 0
sir,

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

Thanks
uv.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 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