04-22-2008
rlogin -l <username> <hostname>
rlogin -l <username> <hostname>
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. UNIX for Advanced & Expert Users
Hi everybody,
I have a problem with rcp & rsh command from Winnt 4 to an AIX machine.
I would like to use rsh from Winnt on Unix but it works only with some machines of the domain. With the others, an error message appears and say : "myadress.com: rshd: 0826-826 The host name for your address... (2 Replies)
Discussion started by: dfrangidis
2 Replies
3. Programming
Hi all,
In need to know why my sample code below that connect to a rlogind (513) fails, but original unix rlogin does not ? (.rhosts is verified to be correct)
I heard rlogin/rsh bind to a reserved port before connecting to the rlogin server. what are they ???
s = socket(AF_INET,... (1 Reply)
Discussion started by: andryk
1 Replies
4. Shell Programming and Scripting
I am writing a program which is something like below:
rsh host1 "rcp file dest:directory"
I am running this script from a machine host2.
host1 has rlogin configuration for host2.
but, dest machine has no rlogin configuration for host1 and fails on remote calls.
Could anyone tell me how... (2 Replies)
Discussion started by: vvejendla
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I need to check if rsh and rcp are enabled between to servers.
What is the command to check both ?
Servers :
SunOS 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V445
SA says that it is configured , so what setting I need to do ?
These must be enable for ORACLE id on... (1 Reply)
Discussion started by: reply2soumya
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
When I try and RSH/RLOGIN onto a box with user root, I get the prompt but the username/password combination NEVER work. I have the password up properly on the host machine. Does rsh/rlogin not make use of ./etc/passwd and /etc/shadow? (1 Reply)
Discussion started by: mojoman
1 Replies
7. Red Hat
Hello,
Can you help me on how to activate the rsh and rcp services. And also how do i test it after i have enable it
Thanks. (7 Replies)
Discussion started by: shtobias
7 Replies
8. Shell Programming and Scripting
Hello,
I am looking for a connection method in which i can connect to a remote server but I want to have only one chance to connect to the remote server (not to be asked for iuser name and password again).
If I have provided a wrong password then I want the connection to broke and be routed... (1 Reply)
Discussion started by: LiorAmitai
1 Replies
9. AIX
Is there a way to deny access to a specific remote login option.
example:
usera--deny telnet access but keep rsh and rlogin
userb--keeps telnet, rsh, and rlogin
I'm basically trying to contol the access per services instead of changing the LOGIN REMOTELY(rsh,tn,rlogin) option to yes or no. (12 Replies)
Discussion started by: leemalloy
12 Replies
10. AIX
Hello I have a LPAR AIX 6.1 on Power VM, Vio 2.2.3 and when I execute a rcp to this machine, I cant, simultaneosly, rlogin, telnet, rsh to this same LPARt. This commands stay hanged till the copy end, and Imeddiatlely the comand is executed (rlogin, telnet, rhs, etc).
Someone can give me... (1 Reply)
Discussion started by: artur_dietrich
1 Replies
RLOGIN(1) BSD General Commands Manual RLOGIN(1)
NAME
rlogin -- remote login
SYNOPSIS
rlogin [-8EKLdx] [-e char] [-k realm] [-l username] host
DESCRIPTION
Rlogin starts a terminal session on a remote host host.
Rlogin first attempts to use the Kerberos authorization mechanism, described below. If the remote host does not supporting Kerberos the
standard Berkeley rhosts authorization mechanism is used. The options are as follows:
-8 The -8 option allows an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop
and start characters are other than ^S/^Q .
-E The -E option stops any character from being recognized as an escape character. When used with the -8 option, this provides a com-
pletely transparent connection.
-K The -K option turns off all Kerberos authentication.
-L The -L option allows the rlogin session to be run in ``litout'' (see tty(4)) mode.
-d The -d option turns on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host.
-e The -e option allows 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.
-k The option requests rlogin to obtain tickets for the remote host in realm realm instead of the remote host's realm as determined by
krb_realmofhost(3).
-x The -x option turns on DES encryption for all data passed via the rlogin session. This may impact response time and CPU utilization,
but provides increased security.
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, 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.
KERBEROS AUTHENTICATION
Each user may have a private authorization list in the file .klogin in their home directory. Each line in this file should contain a Ker-
beros principal name of the form principal.instance@realm. If the originating user is authenticated to one of the principals named in
.klogin, access is granted to the account. The principal accountname.@localrealm is granted access if there is no .klogin file. Otherwise a
login and password will be prompted for on the remote machine as in login(1). To avoid certain security problems, the .klogin file must be
owned by the remote user.
If Kerberos authentication fails, a warning message is printed and the standard Berkeley rlogin is used instead.
ENVIRONMENT
The following environment variable is utilized by rlogin:
TERM Determines the user's terminal type.
SEE ALSO
rsh(1), kerberos(3), krb_sendauth(3), krb_realmofhost(3)
HISTORY
The rlogin command appeared in 4.2BSD.
BUGS
Rlogin will be replaced by telnet(1) in the near future.
More of the environment should be propagated.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)