[HPADM] [Fwd: Summary:remsh problem]

From: Baran YURDAGUL (barany@netas.com.tr)
Date: Thu Nov 21 2002 - 09:07:53 EST


Hi Admins,
Thanks to Eaf HArtman for the great explanation.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Baran YURDAGUL
Nortel Networks/NETAS R&D - Unix&Network Administrator
Tel :+90(216) 522 25 42 / ESN: 882-2542
Fax :+90(216) 522 23 62
Gsm :+90(533) 578 86 62

attached mail follows:


In a message to me Baran YURDAGUL wrote:
> but I can not make just remsh to this machine as :
> host_a#remsh host_b
> rcmd: Lost connection

remsh _without_ a command is just "rlogin", so probably rlogin is denied for
some reason on that machine.

PS: rcp and remsh normally connect to the "remshd" on the remote machine,
rlogin and remsh "without a command" to "rlogind" there and these daemons
can be secured separately in the security file (/var/adm/inetd.sec)
(or, when you have installed them, by the tcp wrappers).

Note that for NON-privileged users rlogin should aks for a password, unless
the ORIGINATING machine is either in the /etc/hosts.equiv OR the .rhost file
of THAT user on the target machine. remsh "command" and rcp never ask for a
password and can only be done through the hosts.equiv (non-privileged users
ONLY) and/or .rhosts file(s). ROOT always uses its .rhosts file only.
When "rlogind" is started with the -l option (in /etc/inetd.conf mostly) the
usage of .rhosts is DISabled for non-privileged users.

-- 
    \     /   /
   /#. # #-  #  /
  ## ## ## ##  ##
 # #   ## ##  ##
" "  #    ## ##
"."  ".   "./
TTTTTTTTTT  UU      UU    Eef Hartman, System Administrator
    TT      UU      UU
    TT      UU      UU    Delft University of Technology
    TT      UU      UU    ITS/Applied Mathematical Analysis
    TT      UU      UU    Mekelweg 4, P.O. Box 5031
    TT      UU      UU    2600 GA  Delft, The Netherlands
    TT       UU    UU     e-mail : E.J.M.Hartman@math.tudelft.nl
    TT        UUUUUU      fax    : +31-15-278 7295
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT