Visit The New, Modern Unix Linux Community


rlogin & telnet


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers rlogin & telnet
# 1  
rlogin & telnet

hi

what is the main difference between rlogin and telnet? Or they are synonymous

cheers
# 2  
Hi,

The main difference is that telnet allows you to log into a machine by specifying a user/password and rlogin doesn't require a user/password to be specified.

Both rlogin and telnet should be avoided wherever possible and replaced by more secure login techniques, i.e. ssh etc.


Andy H
# 3  
Andy,
I dont think so, that rlogin doesn't require username and password. since i used to work with rlogin for running some applications from server or other systems in a network.

rlogin IPaddress
username : anent
password : ************

Let me know your opinion.
Anent
# 4  
Anent,

Sorry I was wrong in saying that with rlogin you don't need to enter a username/password.

You may need to specify a username if:
1 you want to use a different username to your current username 2 you are using a rlogin client program in windows

However you may or may not be required to specify a login password depending on if the ~/.rhosts file in the remote machine you want to login into is configure correctly.

Thanks for correcting me, I should have said that ~/.rhosts needs to be configured to allow password less logins.


Andy
# 5  
rlogin and telnet use different ports to connect as well.

You can disable the telnet port, or just disable telnet. Same for rlogin.

However as pointed out previously rlogin is configurable via the .rhosts file. You can use this file to allow, or disallow users, or hosts

Telnet is either allowed or not allowed. Nothing special..


RECON
# 6  
Andy,
Well and Thanks, in windows system /.rhosts file has to be configured for user/passwd less entry.
Is it possible in Unix workstations ie., I am using HPUX system. Is it possible to rlogin from one to the other without passwd. since i used to rlogin using the password of the other client only.
If so, how to do it.

Anent
# 7  
Hi

It's possible to rlogin from one host to another host without a PASSWORD. (It's a bit confusing)
1) On the host you want to rlogin just create a ./rhosts file in the user's home directory to whom you want to rlogin and in that .rhosts file you specify the ip address or the hostname of the m/c from where you want to rlogin and the username from where you want to run rlogin.
for e.g user "me" on host A wants to rlogin to user "you" on host B without a password. Then user "you" on host B should create a .rhosts file in his/her home directory with the hostname and username entry i.e A me.

For more info refer the man rlogin or man rsh or man rcp or man rhosts
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #670
Difficulty: Medium
Fourteen channels are designated in the 2.4 GHz range, spaced 5 MHz apart from each other except for a 12 MHz space before channel 14.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cat & telnet

cat & telnet hello, I need some help on using a file with the cat command. I want to set up a telnet connection with a network device with the ip-adress 10.3.0.1. Just executing the command 'telnet 10.3.0.1' gives a menu. For example, to show the help of the menu, you... (2 Replies)
Discussion started by: michealvh
2 Replies

2. Shell Programming and Scripting

rlogin and telnet

I want to make a script which will execute a command from a remote server like below rlogin server1 then telnet server2 (username, password will be given) now execute command (it may "ls -l *.txt") and give the output I've to do this manually but want to make it automatic Script may... (4 Replies)
Discussion started by: shoeb
4 Replies

3. Shell Programming and Scripting

script for nested rlogin and telnet

I want to write a script that rlogins to a couple machines and then from the last machine, telnet into a final machine and execute a command. So in pseudocode it would look like: rlogin host1 from host1 rlogin host2 from host2 telnet host3 from host 3 execute command The reason for the... (6 Replies)
Discussion started by: mcburke38
6 Replies

4. IP Networking

rlogin,telnet-different or same?

Hai guys, Both "rlogin" and "telnet" are used to login remote host.Is there any differece between these 2 commands? (or) are both same? Thanks (1 Reply)
Discussion started by: Felicia23
1 Replies

5. Solaris

rlogin, telnet connections timeout

Hi, I have a Sun Ultra 5 desktop with Solaris 8. When I telnet/rlogin into any other host, the connection closes after few hours of inactivity. I also have another Windows box which I use rarely. But when I telnet/rlogin into the same hosts using putty, the connection stays for days without any... (5 Replies)
Discussion started by: dr_gsb
5 Replies

6. UNIX for Advanced & Expert Users

diable telnet & ftp

Hi All, I need to stop all the services for telnet & FTP as we want our server to be more secure. Please give me some steps for jumping to SSH protocol. How can i disable telnet & ftp service on my server. (1 Reply)
Discussion started by: pradeep_desh
1 Replies

7. Shell Programming and Scripting

telnet & su in shell script

Hi, Any scripting experts out there that can point me to the right direction of writing a script using telnet and su to access a server without any users interaction such as login and entering passwd. Thanks. Thanks in advance vastare (1 Reply)
Discussion started by: vastare
1 Replies

8. UNIX for Dummies Questions & Answers

telnet, rlogin, ssh login probblem

Hello Friends, I had an IRIX box won't let me login with any IDs (even root) Telnet, Rlogin, SSh. However, I can login by single user with root ID. Telnet login >>> Connection closed by forgeign host. Rlogin >>> Connection closed SSh login >>> connection to address ???.????.???.??? ... (1 Reply)
Discussion started by: anphdula
1 Replies

9. Cybersecurity

telnet on AT&T MLS V

How do I enable telnet access to a system running AT&T MLS? (1 Reply)
Discussion started by: smartgod
1 Replies

10. UNIX for Dummies Questions & Answers

rsh & rlogin

I'm trying to execute the next command: " rsh CompName date " which means i want to get the date from a machine which i have its CompName. but i get the answer : "Connection refused" what do i need to do ? how can i sign myself as user or guest in the other machine ? thanks in... (2 Replies)
Discussion started by: Inbal
2 Replies

Featured Tech Videos