From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5483db1d3bfb59721057de0f265c80be.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199609111437.OAA08538@linux.reo.dec.com> Date: Wed, 11 Sep 1996 09:19:11 -0400 (EDT) From: Erik Troan Subject: Re: how to rsh/rlogin as root with PAM ? In-Reply-To: <199609110529.HAA00723@bigbug.franken.de> On Wed, 11 Sep 1996, Thomas Bogendoerfer wrote: > > > if you add tty to your /etc/securetty, it doesn't fail. > > > > Have you tried that? With rsh stdin isn't a tty at all, so I wouldn't expect > > it to ever work. > > sure. rsh opens /dev/tty as one of it's first actions. No it doesn't. rlogin opens a pty (allowing /dev/tty to work), but rsh just connects the socket to stdin/stdout/stderr w/o going through a pty. [root@porky djb]# rsh ns tty not a tty Note that rsh invokes rlogin if you run it w/o a remote command. Erik ------------------------------------------------------------------------------- Always hoped that I'd be an apostle. Knew that I would make it if I tried. Then when we retire we can write the gospels so they'll all talk about us when we've die. - "The Last Supper" from Jesus Christ Superstar | Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu | -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null