Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* .rhosts .forward
@ 1997-01-22  5:00 Vivek Baveja
  1997-01-22  5:00 ` Steve VanDevender
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vivek Baveja @ 1997-01-22  5:00 UTC (permalink / raw)




Can any one tell me how bad could .forward and .rhosts file could be for
making system safe from hackers

could you also tell me if there are any hacking newsgroup or so.

thank u
baveja






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .rhosts .forward
  1997-01-22  5:00 .rhosts .forward Vivek Baveja
@ 1997-01-22  5:00 ` Steve VanDevender
  1997-01-22  5:00 ` Pete Ford
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Steve VanDevender @ 1997-01-22  5:00 UTC (permalink / raw)



Pete Ford <peter.ford@computing-services.ox.ac.uk> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .rhosts .forward
  1997-01-22  5:00 .rhosts .forward Vivek Baveja
  1997-01-22  5:00 ` Steve VanDevender
@ 1997-01-22  5:00 ` Pete Ford
  1997-01-23  5:00 ` Bob Vickers
  1997-01-25  5:00 ` Aleksandar Milivojevic
  3 siblings, 0 replies; 5+ messages in thread
From: Pete Ford @ 1997-01-22  5:00 UTC (permalink / raw)



Vivek Baveja wrote:
> 
> Can any one tell me how bad could .forward and .rhosts file could be for
> making system safe from hackers
> 
> could you also tell me if there are any hacking newsgroup or so.
> 
> thank u
> baveja

As far as I know, .forward has no security implications as long as you
don't screw it up! Then the only problem might be that your mail goes to
someone else...

.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.

-- 
Pete Ford	Unix Sys. Admin.	Oxford University Computing Services
Phone: +44 1865 2~73266 		Look mum, a real job!
"I'm sorry but you need more help than I can give you over the phone"-
R. Letts
The above message represents my personal opinion; neither my employers,
nor any other organisation, is responsible for statements made therein



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .rhosts .forward
  1997-01-22  5:00 .rhosts .forward Vivek Baveja
  1997-01-22  5:00 ` Steve VanDevender
  1997-01-22  5:00 ` Pete Ford
@ 1997-01-23  5:00 ` Bob Vickers
  1997-01-25  5:00 ` Aleksandar Milivojevic
  3 siblings, 0 replies; 5+ messages in thread
From: Bob Vickers @ 1997-01-23  5:00 UTC (permalink / raw)



Steve VanDevender wrote:
> 
> Pete Ford <peter.ford@computing-services.ox.ac.uk> writes:
> 
> > Vivek Baveja wrote:
> > >
> > > Can any one tell me how bad could .forward and .rhosts file could be for
> > > making system safe from hackers
> >

Digital Unix has a nice feature which allows the fascist system
administrator to disallow particularly foolish .rhosts files. Include a
line in /etc/hosts.equiv which simply says
NO_PLUS

See man hosts.equiv for more info.

Bob
-- 
=======================================================================
Bob Vickers			R.Vickers@rhbnc.ac.uk
Department of Computer Science, Royal Holloway College, University of
London
WWW:	http://www.dcs.rhbnc.ac.uk/%7Ebobv/
Phone:	+44 1784 443691



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .rhosts .forward
  1997-01-22  5:00 .rhosts .forward Vivek Baveja
                   ` (2 preceding siblings ...)
  1997-01-23  5:00 ` Bob Vickers
@ 1997-01-25  5:00 ` Aleksandar Milivojevic
  3 siblings, 0 replies; 5+ messages in thread
From: Aleksandar Milivojevic @ 1997-01-25  5:00 UTC (permalink / raw)



Vivek Baveja (vbaveja@giascl01.vsnl.net.in) wrote:
> 
> 
> Can any one tell me how bad could .forward and .rhosts file could be for
> making system safe from hackers

If you don't need functionality of rsh, rlogin and rcp commands, than
disable them (just comment out them in inetd.conf). If you need them,
disable them anyway and install ssh as replacement.

-- 
Aleksandar Milivojeviďż˝                        http://jagor.srce.hr/~alex/
                           e-mail: alex@srce.hr
================================ooooO=Ooooo==============================
        "I believe OS/2 is destined to be the most important
         operating system, and possibly program, of all time."
                   -- Bill Gates, OS/2 Programmer's Guide foreward, 1987



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-01-25  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-22  5:00 .rhosts .forward Vivek Baveja
1997-01-22  5:00 ` Steve VanDevender
1997-01-22  5:00 ` Pete Ford
1997-01-23  5:00 ` Bob Vickers
1997-01-25  5:00 ` Aleksandar Milivojevic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox