Re: rsh & rlogin

John Gentilin (gentijo@eyecatching.com)
Mon, 18 Nov 1996 10:07:15 -0500


One way to track down these annoying problems is to use strace.
If you are running rlogin from inetd the edit your inetd.conf
file. e.g.

login stream tcp nowait root /usr/sbin/tcpd in.rlogind

login stream tcp nowait root /usr/sbin/tcpd strace \
-f -o /tmp/rlogin.trc in.rlogind

After you login and it fails, inspect the file in /tmp. You don't have to
be an expert look at the file, it will tell you Bad Permissions or file
does not exist when it fails.

strace is a very useful tool.

Regards
John Gentilin
gentijo@eyecatching.com

PS. I just threw this example together and now that I think about it, tcpd
may not be able to launch strace. run "man inetd" to make sure.

At 07:47 AM 11/17/96 +0200, you wrote:
>
>This question must have been asked more than once, but since I'm new to
>this list I'll ask anyway :
>
>When activating rsh/rlogin to a remote linux (running slakware 3.X) I'm
>getting Permission Denied - although I've put + both in /etc/hosts.equiv
>(for regular user) and in /root/.rhosts (for root).
>I have tried to remove tcpd (the wrapper) but than I got stacked.
>Putting "ALL: ALL: ALLOW" in /etc/hosts.allow didn't help either.
>
>Any direction would be appreciated !
>
>regards ran
>
>