From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,24dd62dad51f6459 X-Google-Attributes: gidfee84,public From: djp@peewee.unx.dec.com (Dave Parker) Subject: Re: RSH to ALPHA using root login Date: 1995/06/16 Message-ID: <3rrtju$6of@jac.zko.dec.com>#1/1 X-Deja-AN: 104597925 distribution: world references: organization: Digital Equipment Corporation reply-to: djp@peewee.unx.dec.com (Dave Parker) newsgroups: comp.unix.osf.osf1 In article , Donald Gray writes: |> |>I'am tring to use RSH from a HP to an ALPHA. I have set up hosts.equiv |>and .rhosts. Root logins are enabled from anywhere. but I still get |>a permission denied error. It works fine from ALPHA to HP and I can |>login to the ALPHA usind root. However rlogin is requiring a password. |>Any help would be greatly appricated. |> Thanks, |> D-Man |> According to the rsh man page, when using the root ID for rsh, the hosts.equiv file does not come into play. Instead, you need to have an appropriate /.rhosts file. So there is likely something wrong with you /.rhosts file. 1) If you are superuser when you run rsh, an entry in /.rhosts with just your hostname will work. 2) If you aren't superuser when you run rsh, an entry in /.rhosts with your hostname and username will work. 3) If #1 or #2 aren't the problem, then it is very likely that the problem is due to /.rhosts not being owned by root and/or not having a mode of 600. Dave