Re: rshd: 0826-813 Permission is denied. error

From: Shekhar Dhotre (Shekhar.Dhotre_at_LENDLEASEREI.COM)
Date: 08/19/03

  • Next message: Alexandre Sato: "Re: rshd: 0826-813 Permission is denied. error"
    Date:         Tue, 19 Aug 2003 10:03:33 -0400
    To: aix-l@Princeton.EDU
    
    

    It worked with cpt33..ere.com . Then I created netsvc.conf file and
    added short names in /etc/hosts - It is working .

    Thanks for your help .

    Cheers
    SD

    Holger.VanKoll@SWISSCOM.COM
    Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
    08/19/2003 09:53 AM
    Please respond to
    IBM AIX Discussion List <aix-l@Princeton.EDU>

    To
    aix-l@Princeton.EDU
    cc

    Subject
    Re: rshd: 0826-813 Permission is denied. error

    hm... try adding
    cpt33.ere.com root
    to .rhosts @ ifs

    -----Original Message-----
    From: Shekhar Dhotre [mailto:Shekhar.Dhotre@LENDLEASEREI.COM]
    Sent: Tuesday, August 19, 2003 3:15 PM
    To: aix-l@Princeton.EDU
    Subject: Re: rshd: 0826-813 Permission is denied. error

    Looks like it is reading .rhosts file .
    # uname -a
    AIX f3n33 3 4 000175884C00

    # ls -lu .rhosts
    -rw------- 1 root system 74 Aug 19 08:28 .rhosts
    # rsh ifs
    root's Password:
    *******************************************************************************

    * *
    * *
    * Welcome to AIX Version 4.3! *
    * *
    * *
    * Please see the README file in /usr/lpp/bos for information pertinent to
       *
    * this release of the AIX Operating System. *
    * *
    * *
    *******************************************************************************

    Last unsuccessful login: Tue Aug 19 09:07:55 EDT 2003 on /dev/pts/2 from
    cpt33.e
    re.com
    Last login: Tue Aug 19 09:08:00 EDT 2003 on /dev/pts/2 from cpt33.ere.com

    # ls -lu .rhosts
    -rw------- 1 root system 74 Aug 19 09:12 .rhosts

    # k4list
    Ticket file: /tmp/tkt0
    Principal: root.admin@SPCWS01

      Issued Expires Principal
    Aug 19 00:01:35 Sep 18 00:01:35 krbtgt.SPCWS01@SPCWS01

    reissued tickets .
    # k4list
    Ticket file: /tmp/tkt0
    Principal: root.admin@SPCWS01

      Issued Expires Principal
    Aug 19 09:10:04 Sep 18 09:10:04 krbtgt.SPCWS01@SPCWS01

    Following are the message when I run verify cluster (HACMP) :

    Verifying Cluster Topology...

    rshd: 0826-813 Permission is denied.
    rshd: 0826-813 Permission is denied.
    Could not open a socket connection to Node 'ifs'. Check root passwords,
    permiss
    ions, and /.rhosts file.

    ERROR: Failure in opening a shell socket on node ifs.
    rshd: 0826-813 Permission is denied.
    rshd: 0826-813 Permission is denied.
    Could not open a socket connection to Node 'ifs'. Check root passwords,
    permiss
    ions, and /.rhosts file.

    ERROR: Failure in opening a shell socket on node ifs.

    Holger.VanKoll@SWISSCOM.COM
    Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
    08/19/2003 08:53 AM

    Please respond to
    IBM AIX Discussion List <aix-l@Princeton.EDU>

    To
    aix-l@Princeton.EDU
    cc

    Subject
    Re: rshd: 0826-813 Permission is denied. error

    do

    ls -lu .rhosts

    before and after rsh-ing to see if this file is read

    are this sp-nodes / is kerberos configured? if yes, what does klist tell?

    any error-msgs?
    -----Original Message-----
    From: Shekhar Dhotre [mailto:Shekhar.Dhotre@LENDLEASEREI.COM]
    Sent: Tuesday, August 19, 2003 2:34 PM
    To: aix-l@Princeton.EDU
    Subject: rshd: 0826-813 Permission is denied. error

    Hi All ,

    I am trying to configure rsh on the following systems. It work only one
    way i.e. from IFS to CPT33 but not from cpt33 to IFS .

    ifs ---------> cpt33 .

    Host IFS

    # cat .rhosts
    ifs root
    cpt33 root
    ifs17_boot root
    cpt33_boot root
    f2n17 root
    f3n33 root

    # grep rsh /etc/inetd.conf
    shell stream tcp6 nowait root /usr/sbin/rshd rshd
    kshell stream tcp nowait root /usr/sbin/krshd krshd

    HOST CPT33 .

    # ls -la .rhosts
    -rw------- 1 root system 74 Aug 18 22:54 .rhosts
    CPT33
    # cat .rhosts
    ifs root
    cpt33 root
    ifs17_boot root
    cpt33_boot root
    f2n17 root
    f3n33 root

    # grep rsh /etc/inetd.conf
    shell stream tcp6 nowait root /usr/sbin/rshd rshd
    kshell stream tcp nowait root /usr/sbin/krshd krshd

    kshell stream tcp nowait root /usr/sbin/krshd
    # ls -la .rhosts
    -rw------- 1 root system 74 Aug 18 23:00 .rhosts

    I have verified hostname by host <IP address> command . also checked
    host.equiv file . Am I missing something here ?

    Thanks

    SD


  • Next message: Alexandre Sato: "Re: rshd: 0826-813 Permission is denied. error"