From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f7e068a86abed114 X-Google-Attributes: gidfee84,public From: Peter Greenwood Subject: Re: rcp and rsh as root Date: 1999/08/11 Message-ID: <7ot0cg$ih$1@nnrp1.deja.com>#1/1 X-Deja-AN: 511613323 References: <7on8k8$sfv$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x33.deja.com:80 (Squid/1.1.22) for client 158.152.96.65 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Aug 11 23:18:50 1999 GMT X-MyDeja-Info: XMYDJUIDpeter_greenwood Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.08 [en] (X11; I; Linux 2.0.36 i586) Thanks to those who replied. In article , ericb@pobox.com (Eric Bennett) wrote: > In article <7on8k8$sfv$1@nnrp1.deja.com>, Peter Greenwood > 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.