03-06-2006
rlogin problem
On the HP-UX hostA, the command rlogin hostB generates the error "rlogind: Host address mismatch" even though the hostname & IP of hostA are defined in the .rhosts file and the /etc/hosts files of hostB respectively. The IP and the hostname of hostB are defined in the /etc/hosts file of hostA.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
From any computer on our network when you rlogin into one machine (this only happens on this machine) it'll hang for about 3 minutes before loggin into that machine. If your sick of waiting you can do a <ctrl> C and then it'll rlogin into the machine it is meant to BUT it wont keep the shell... (1 Reply)
Discussion started by: merlin
1 Replies
2. UNIX for Advanced & Expert Users
hi !
i ve a problem with rlogin. i have a server from which only root user can Rlogin other servers.
other users can t rlogin, they get the following error :
"rcmd2: socket: The file access permissions do not allow the specified action"
Does somebody can help ?
Thanks,
Karine (3 Replies)
Discussion started by: karine
3 Replies
3. Shell Programming and Scripting
I'm comparing a table from two databases on two different servers to check for equality.
1. How do I use rlogin from a script , is it like this ?
rlogin -l $username $server1
where $username and $server1 are passed from the command line.
2.create a copy of that table, compress it and... (3 Replies)
Discussion started by: seaten
3 Replies
4. Cybersecurity
does anyone know how to stop rlogin to my sunsolaris
so I have 2 machines...I can not telnet one becouse that is not allowed but I can telnet the other and do rlogin to first one..I want to stop that..
so..
telnet A from C machine - works
telnet B from C machine - does not work
but... (3 Replies)
Discussion started by: amon
3 Replies
5. UNIX for Advanced & Expert Users
I need to establish rlogin between 2 of my servers (and I know, it's not secure, smart, etc. ... it's a temporary requirement that I have to do)
I tried all the standards.
I'm trying to rlogin from server A to server B
On server B, I made a /.rhosts file that contains server A's name
On... (4 Replies)
Discussion started by: FredSmith
4 Replies
6. UNIX for Advanced & Expert Users
Dear Experts,
i want to make one script ,by running that script it should rlogin from one mashine to another and the username and passord should be in the script so that it could not ask from me the username and password of another machine from me .
please help me out.
Regards,
SHARY (1 Reply)
Discussion started by: shary
1 Replies
7. HP-UX
on the system, sometimes the rlogin command can not login the remote node,but ping command can echo the packet. if the inetd domean restarted , rlogin runs normally. We want to know what cause the rlogin failed and how to fix it. (2 Replies)
Discussion started by: Frank2004
2 Replies
8. Shell Programming and Scripting
Hi all,
i need to remotely execute a couple of commands on anyother server, but rsh is not allowed. for that matter i am bound to use rlogin. so what i am trying to do in the script is :
1) rlogin asad
2) Wait for Login prompt
3) Waiting for Password Prompt
4) Once authenticated, execute... (4 Replies)
Discussion started by: asadlone
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
in my environment we have several server with rlogin passwordless login enabled, now there is a problem to setup this with a hpux server. i have check the .rhosts file and kerberos key are all setup properly and permission is correct, even other user id on the server can login without... (3 Replies)
Discussion started by: robertngo
3 Replies
10. 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
LEARN ABOUT FREEBSD
rhosts
HOSTS.EQUIV(5) BSD File Formats Manual HOSTS.EQUIV(5)
NAME
hosts.equiv, .rhosts -- trusted remote host and user name data base
DESCRIPTION
The hosts.equiv and .rhosts files contain information regarding trusted hosts and users on the network. For each host a single line should
be present with the following information:
simple
hostname [username]
or the more verbose
[+-][hostname|@netgroup] [[+-][username|@netgroup]]
A ``@'' indicates a host by netgroup or user by netgroup. A single ``+'' matches all hosts or users. A host name with a leading ``-'' will
reject all matching hosts and all their users. A user name with leading ``-'' will reject all matching users from matching hosts.
Items are separated by any number of blanks and/or tab characters. A ``#'' indicates the beginning of a comment; characters up to the end of
the line are not interpreted by routines which search the file.
Host names are specified in the conventional Internet DNS dotted-domains ``.'' (dot) notation using the inet_addr(3) routine from the Inter-
net address manipulation library, inet(3). Host names may contain any printable character other than a field delimiter, newline, or comment
character.
For security reasons, a user's .rhosts file will be ignored if it is not a regular file, or if it is not owned by the user, or if it is
writable by anyone other than the user.
FILES
/etc/hosts.equiv The hosts.equiv file resides in /etc.
$HOME/.rhosts .rhosts file resides in $HOME.
EXAMPLES
bar.com foo
Trust user ``foo'' from host ``bar.com''.
+@allclient
Trust all hosts from netgroup ``allclient''.
+@allclient -@dau
Trust all hosts from netgroup ``allclient'' and their users except users from netgroup ``dau''.
SEE ALSO
rcp(1), rlogin(1), rsh(1), gethostbyname(3), inet(3), innetgr(3), ruserok(3), netgroup(5), ifconfig(8), yp(8)
BUGS
This manual page is incomplete. For more information read the source in src/lib/libc/net/rcmd.c or the SunOS manual page.
BSD
December 25, 2013 BSD