10-25-2001
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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Cybersecurity
How do I enable telnet access to a system running AT&T MLS? (1 Reply)
Discussion started by: smartgod
1 Replies
3. UNIX for Dummies Questions & Answers
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
4. Shell Programming and Scripting
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
5. UNIX for Advanced & Expert Users
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
6. Solaris
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
7. IP Networking
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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
RLOGIN(1) BSD General Commands Manual RLOGIN(1)
NAME
rlogin -- remote login
SYNOPSIS
rlogin [-468DEd] [-e char] [-i localname] [-l username] [username@]host
DESCRIPTION
The rlogin utility starts a terminal session on a remote host host.
The standard Berkeley rhosts authorization mechanism is used.
The following options are available:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-8 Allow an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop and start char-
acters are other than ^S/^Q.
-D Set the TCP_NODELAY socket option which can improve interactive response at the expense of increased network load.
-E Stop any character from being recognized as an escape character. When used with the -8 option, this provides a completely transparent
connection.
-d Turn on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host.
-e Allow user specification of the escape character, which is ``~'' by default. This specification may be as a literal character, or as
an octal value in the form
nn.
-i Allow the caller to specify a different local name to be used for authentication. This option is restricted to processes with uid 0.
-l Specify a different username for the remote login. If this option is not specified, your local username will be used.
A line of the form ``<escape char>.'' disconnects from the remote host. Similarly, the line ``<escape char>^Z'' will suspend the rlogin ses-
sion, and ``<escape char><delayed-suspend char>'' suspends the send portion of the rlogin session, but allows output from the remote system.
By default, the tilde (``~'') character is the escape character, and normally control-Y (``^Y'') is the delayed-suspend character.
All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S/^Q and flushing of
input and output on interrupts are handled properly.
ENVIRONMENT
The following environment variable is utilized by rlogin:
TERM Determines the user's terminal type.
FILES
/etc/hosts
/etc/hosts.equiv
$HOME/.rhosts
SEE ALSO
login(1), rsh(1), telnet(1), setsockopt(2), ruserok(3), tty(4), hosts(5), hosts.equiv(5), rlogind(8), rshd(8)
HISTORY
The rlogin command appeared in 4.2BSD.
IPv6 support was added by WIDE/KAME project.
BUGS
The rlogin utility will be replaced by telnet(1) in the near future.
More of the environment should be propagated.
BSD
September 26, 2003 BSD