[EMAIL PROTECTED] wrote:

>  About rdist.
>   It refuses to connect via rsh by root (permission denied)
>    . Non-root connects are successful. Slackware 7.0 - 2.2.14.
>    Can I do anything to use rdist for distributing under root-rights?

NB: the following assumes that a vanilla "rsh" is being used; if rsh
is really ssh, things will be significantly different. If PAM is being
used (the last time that I checked, Slackware didn't use PAM), things
may be different (and good luck finding accurate documentation for any
programs which perform authentication).

1. in.rshd on the target must be run with the "-h" switch in order to
allow use by root.

2. The username on the source must exist in the target's /etc/passwd
file, and have a password.

3. The ~root/.rhosts file must exist. /etc/hosts.equiv is ignored for
root.

4. ~root and ~root/.rhosts must only be writable by root. ~/.rhosts
files are ignored if either the file or its containing directory are
group or world writable.

5. There may be other (possibly undocumented) subtleties if the
distribution vendor has decided to make any "improvements". I am told
that some versions of RedHat also check /etc/securetty for root.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to