From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,866b62e6b889ecf1 X-Google-Attributes: gidfee84,public From: nobody@usyd.edu.au (Paul Szabo) Subject: Re: DEC Unix 4.0B rsh (remote shell) security problem Date: 1997/12/11 Message-ID: <66pk9v$7an@metro.usyd.edu.au>#1/1 X-Deja-AN: 297335563 Distribution: world Sender: psz-at-maths-dot-usyd-dot-edu-dot-au (Paul Szabo) References: <3490ce97.525375862@news.virgin.net> Organization: Mathematics, University of Sydney Reply-To: psz-at-maths-dot-usyd-dot-edu-dot-au (Paul Szabo) Newsgroups: comp.unix.osf.osf1 In article cmuir@mitswa.com.au.no.spam.please (Chris Muir) writes: > rsh -l oracle Bobafett ls > The user 'oracle' has a .rhosts file located in its home directory. The > entry in the file specifies 'Bobafett root'. > ... the command reports back 'Permission Denied' and fails ... Are you using C2 security? Check that user oracle is not marked Nologin in /etc/passwd. If it is you have to use vipw to allow oracle login: neither dxaccounts nor edauth will do. Also try (as root) '/bin/login -f oracle': beware of password expiry. Also check the rsh setup: that you are running rshd in /etc/inetd.conf; the permissions on the .rhosts file (read 'man rhosts'), ... In article <3490ce97.525375862@news.virgin.net> not.me@a.b.com (John Sheldrake) also replies: > As well as entries in $HOME/.rhosts you should have entries in > /etc/hosts.equiv ... No, you do not need that. Only add things to /etc/hosts.equiv if you are absolutely sure you want them. --- [ The email address is munged in the headers and in the lines below, in an ] [ attempt to avoid junk (spam) mail. Sorry about the inconvenience caused. ] --- Paul Szabo - System Manager // School of Mathematics and Statistics psz at maths . usyd . edu . au // University of Sydney, NSW 2006, Australia