From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,34981b954e9851de X-Google-Attributes: gidfee84,public From: Steve VanDevender Subject: Re: .rhosts .forward Date: 1997/01/22 Message-ID: #1/1 X-Deja-AN: 211655554 references: organization: University of Oregon newsgroups: comp.unix.osf.osf1 Pete Ford writes: > Vivek Baveja wrote: > > > > Can any one tell me how bad could .forward and .rhosts file could be for > > making system safe from hackers > > .rhosts should also be safe - it's best kept with 0600 permissions > (-rw------), and you should be careful which hosts you trust - specify > hosts explicitly and don't use wildcards if possible. I wouldn't use .rhosts at all if you can help it. The authentication protocol used is extremely weak. A remote system can pass itself off as one of the trusted systems in your .rhosts and forge your login name to get in. Another common trick is to place a permissive .rhosts in a world- or group-writable home directory to gain entry to an account. -- Steve VanDevender stevev@hexadecimal.uoregon.edu http://jcomm.uoregon.edu/~stevev "bash awk grep perl sed df du, du-du du-du, vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH