Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cmuir@mitswa.com.au.no.spam.please (Chris Muir)
Subject: DEC Unix 4.0B rsh (remote shell) security problem
Date: 1997/12/11	[thread overview]
Message-ID: <MPG.efa25a630b8b0e8989681@mitswa> (raw)


Howdy.

Really hope somebody can help me because I'm stuck.

I've just installed an Oracle database onto a DEC Alpha 1000A running DEC 
UNIX 4.0B.  Under the /sbin/init.d directory I've created a file as per 
the Oracle instructions to automatically start up and shut down the 
database as the Alpha powers up and down.  In both the /sbin/rc0.d and 
rc2.d init directories there is a logical link to this file.

My problem is that the file I created, written in Bourne shell makes a 
call to the UNIX command 'rsh' from the root user similar to the 
following:

rsh -l oracle Bobafett ls

where:
1) 'oracle' is the user to execute the ls command
2) 'Bobafett' is the local machine

The user 'oracle' has a .rhosts file located in its home directory.  The 
entry in the file specifies 'Bobafett root'.

Now my understanding is this command should login as oracle and execute 
the ls command on Bobafett without requiring a password as the .rhosts 
file allows the root user through.  Unfortunately the command reports 
back 'Permission Denied' and fails to execute the ls command.

Does anybody have idea why DEC UNIX 4 does this?  I know this didn't 
happen under DEX UNIX 3.

I would appreciate if you could email your reply directly to me.  Just 
remove the '.no.spam' from my email address below.

Thanks for your time :)

Chris

-- 
Chris Muir
Software Engineer
MITS (WA) Pty Ltd
mailto:cmuir@mitswa.com.au.no.spam

If you wish to contact me just remove the '.no.spam'
from my email address above.



             reply	other threads:[~1997-12-11  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-11  5:00 Chris Muir [this message]
1997-12-11  5:00 ` DEC Unix 4.0B rsh (remote shell) security problem John Sheldrake
1997-12-11  5:00   ` Paul Szabo
1997-12-12  5:00 ` martin.hepworth
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