From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,866b62e6b889ecf1,start X-Google-Attributes: gid10952f,public X-Google-Thread: fee84,866b62e6b889ecf1,start X-Google-Attributes: gidfee84,public From: cmuir@mitswa.com.au.no.spam.please (Chris Muir) Subject: DEC Unix 4.0B rsh (remote shell) security problem Date: 1997/12/11 Message-ID: #1/1 X-Deja-AN: 297174355 Organization: MITS (WA) Pty Ltd Reply-To: cmuir@mitswa.com.au.no.spam Newsgroups: comp.security.unix,comp.unix.osf.osf1 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.