AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  rshd: 0826-813 Permission is denied.

    Posted Thu April 10, 2008 09:50 AM

    Originally posted by: SystemAdmin


    I have a problem with accessing from the nim master to the client.
    I finished setting up the nim master and trying to connect to the client using smitty nim
    trying to look at files sets on the client to see if I can perform tasks on the client machine.
    I get the folling errot with trying to run the command.

    Command: failed stdout: yes stderr: no

    Before command completion, additional instructions may appear below.

    0042-001 nim: processing error encountered on "master":
    0042-006 m_lppchk: (From_Master) connect Error 0

    rshd: 0826-813 Permission is denied.

    The master and client systems use ssh to communicate and nim uses rsh.
    So I had to create .rhosts files on both systems to accept each other and I also
    configured the hosts.equiv file. I also started my rshd daemon and unpounded
    the inetd.conf file to accept shell and login.

    I have tried everything I know but with no luck.
    My hosts file are OK.

    ?????????????
    #AIX-Forum


  • 2.  Re: rshd: 0826-813 Permission is denied.

    Posted Thu April 10, 2008 01:13 PM

    Originally posted by: unixgrl


    If you really want to get rsh working, make sure each host can rsh to the other AND make sure each resolves the hostname the same. Run "host <yourhost>" for both NIM master and client on each system and make sure they both resolve the same. If they don't, edit /etc/hosts.

    If you want to give up on rsh or it won't work due to firewall rules, what we do is save rsh to rsh.sav and link ssh to rsh. This allows us to use ssh for NIM and be a little more secure.
    #AIX-Forum


  • 3.  Re: rshd: 0826-813 Permission is denied.

    Posted Fri April 11, 2008 07:50 AM

    Originally posted by: SystemAdmin


    Thanks for the reply, I finally found my problem, the permissions on my .rhosts file was
    not at 600, I tested on the command line rsh and I could only get in without a password from
    the client to the nim but it was asking for passwd in the other direction. The .rhosts file
    permissions was wrong on the client side.

    I like your idea of using the ssh I have on the server with rsh for security.
    I was going to install kerberos for security, but this looks faster to do.
    Do you have the procedure on who to do this. Do I just do a strait soft link from ssh to rsh.

    Thanks
    #AIX-Forum