* rcp and rsh as root
@ 1999-08-09 4:00 Peter Greenwood
1999-08-10 4:00 ` Eric Bennett
1999-08-10 4:00 ` maiello
0 siblings, 2 replies; 4+ messages in thread
From: Peter Greenwood @ 1999-08-09 4:00 UTC (permalink / raw)
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.e. /.rhosts now seems to be
ignored). Does anyone know of a workaround for this? The security
implications are acceptable in this case.
--
Peter Greenwood
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rcp and rsh as root
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
1999-08-10 4:00 ` maiello
1 sibling, 1 reply; 4+ messages in thread
From: Eric Bennett @ 1999-08-10 4:00 UTC (permalink / raw)
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.e. /.rhosts now seems to be
> ignored). Does anyone know of a workaround for this? The security
> implications are acceptable in this case.
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.
Also, check the permissions on the .rhosts files. If the permissions are
looser than 600 I believe the system will ignore the rhosts file.
--
Eric Bennett (www.pobox.com/~ericb)
Department of Chemistry & Chemical Biology, Cornell University
The courts take too long. Show Microsoft how you feel in a way it
understands: Keep your money. -Eamonn Sullivan, PC Week Magazine
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rcp and rsh as root
1999-08-10 4:00 ` Eric Bennett
@ 1999-08-11 4:00 ` Peter Greenwood
0 siblings, 0 replies; 4+ messages in thread
From: Peter Greenwood @ 1999-08-11 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rcp and rsh as root
1999-08-09 4:00 rcp and rsh as root Peter Greenwood
1999-08-10 4:00 ` Eric Bennett
@ 1999-08-10 4:00 ` maiello
1 sibling, 0 replies; 4+ messages in thread
From: maiello @ 1999-08-10 4:00 UTC (permalink / raw)
I saw this between our DU servers and an upgraded Solaris server.
On each side we needed the fully qualified name in the .rhosts file.
Don't know if this will help.
Robert Maiello
Toys R Us Unix Group
maiellor@toysrus.com
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.e. /.rhosts now seems to be
> ignored). Does anyone know of a workaround for this? The security
> implications are acceptable in this case.
>
> --
> Peter Greenwood
>
> 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.
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-08-11 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1999-08-10 4:00 ` maiello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox