From: Peter Greenwood <peter_greenwood@my-deja.com>
Subject: Re: rcp and rsh as root
Date: 1999/08/11 [thread overview]
Message-ID: <7ot0cg$ih$1@nnrp1.deja.com> (raw)
In-Reply-To: ericb-1008992208040001@x3066.resnet.cornell.edu
Thanks to those who replied.
In article <ericb-1008992208040001@x3066.resnet.cornell.edu>,
ericb@pobox.com (Eric Bennett) wrote:
> In article <7on8k8$sfv$1@nnrp1.deja.com>, Peter Greenwood
> <peter_greenwood@my-deja.com> wrote:
>
> > With DUnix 4.0d (or maybe one of the security patches) there seems
> > to have been a change to prevent rcp and rsh ever getting root
> > privileges without a password
> I don't have that problem with 4.0D or 4.0E. Try what the other
person
> said... fully qualified names. That's what we have in our .rhosts
files.
I now suspect the fact that it was happening only on our 4.0d boxes
was just coincidence. What seems to make the difference is that
the name in .rhosts must be the *first* one in the line in /etc/hosts,
i.e. the canonical name rather than an alias. (That's on a system
based on hosts files rather than DNS of course).
> Also, check the permissions on the .rhosts files. If the permissions
are
> looser than 600 I believe the system will ignore the rhosts file.
644 seems to work, but really silly ones (like 666) don't.
--
My employers are not responsible for anything
in this posting.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next prev parent reply other threads:[~1999-08-11 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-09 4:00 rcp and rsh as root Peter Greenwood
1999-08-10 4:00 ` Eric Bennett
1999-08-11 4:00 ` Peter Greenwood [this message]
1999-08-10 4:00 ` maiello
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox