02-28-2006
helloo thanks for answerss...
I have on my system /etc/inetd.conf and there are lines
#
# Shell, login, exec, comsat and talk are BSD protocols.
#
shell stream/BSD tcp nowait root /usr/sbin/in.rshd in.rshd
login stream tcp nowait root /usr/sbin/in.rlogind in.rlogind
exec stream/BSD tcp nowait root /usr/sbin/in.rexecd in.rexecd
talk dgram/BSD udp wait root /usr/sbin/in.talkd in.talkd
# remove comment in next line, when using bsd sendmail and biff
#comsat dgram udp wait root /usr/sbin/in.comsat in.comsat
so if I put # in front of login...should I deny by that rlogin to my machine or ...??
also my sun solaris does not have /etc/hosts.equiv...and there are no
/etc/hosts.allow and /etc/hosts.deny files...
thanks
looking forward of hearing answers...
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 Dummies Questions & Answers
Hi,
I have a script and need to use rlogin to access "server1".
As there will be different servers used and there will be different usernames and passwords.
Is it possible to pass the server name, username and password as arguments on the command line and the script work from there.
... (2 Replies)
Discussion started by: seaten
2 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. IP Networking
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. (1 Reply)
Discussion started by: vijaysharma.vs
1 Replies
5. UNIX for Dummies Questions & Answers
hi
i got 3 boxes, boxA, boxB, boxC
i can do the below
boxA> ufsdump 0fu boxB:/mydirectory/myfile /myfile
boxA> rlogin boxB is okay
but when i do the below
boxA> ufsdump 0fu boxC:/mydirectory/myfile /myfile, system says error,
boxA> rlogin boxC got error
on... (5 Replies)
Discussion started by: yls177
5 Replies
6. UNIX for Dummies Questions & Answers
i got a dout in rlogin . whether rlogin is same as telnet (1 Reply)
Discussion started by: shanmugam
1 Replies
7. 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
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. 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
10. Solaris
Guys, I'm running solaris 9 on two systems: 1 and 2, let's say.
From 1, if I say rlogin 2, i can just login. No passwd prompt!
From 2, if I say rlogin 1, it asks for the passwd. (able to login with a passwd)
But, they both have the same config files, same set up, same network etc.
What... (13 Replies)
Discussion started by: the_red_dove
13 Replies
LEARN ABOUT MOJAVE
pam_rhosts_auth
pam_rhosts_auth(5) Standards, Environments, and Macros pam_rhosts_auth(5)
NAME
pam_rhosts_auth - authentication management PAM module using ruserok()
SYNOPSIS
/usr/lib/security/pam_rhosts_auth.so.1
DESCRIPTION
The rhosts PAM module, /usr/lib/security/pam_rhosts_auth.so.1, authenticates a user via the rlogin authentication protocol. Only
pam_sm_authenticate() is implemented within this module. pam_sm_authenticate() uses the ruserok(3SOCKET) library function to authenticate
the rlogin or rsh user. pam_sm_setcred() is a null function.
/usr/lib/security/pam_rhosts_auth.so.1 is designed to be stacked on top of the /usr/lib/security/pam_unix.so.1 module for both the rlogin
and rsh services. This module is normally configured as sufficient so that subsequent authentication is performed only on failure of
pam_sm_authenticate(). The following option may be passed in to this service module:
debug syslog(3C) debugging information at LOG_DEBUG level.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|MT Level |MT-Safe with exceptions |
+-----------------------------+-----------------------------+
SEE ALSO
pam(3PAM), pam_authenticate(3PAM), ruserok(3SOCKET), syslog(3C), libpam(3LIB), pam.conf(4), attributes(5)
NOTES
The interfaces in libpam() are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle.
SunOS 5.10 28 Oct 1996 pam_rhosts_auth(5)