Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@bigbug.franken.de>
Subject: Re: how to rsh/rlogin as root with PAM ?
Date: Wed, 11 Sep 1996 19:59:47 +0200 (MET DST)	[thread overview]
Message-ID: <199609111759.TAA00357@bigbug.franken.de> (raw)
In-Reply-To: <Pine.LNX.3.93.960911091801.8445B-100000@redhat.com>

> 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.

upps, I've got it wrong. rshd doesn't open /dev/tty, but the Redhat
rshd register /dev/tty as tty for PAM. From rshd.c:

        (void) pam_set_item (pamh, PAM_RUSER, remuser);
        (void) pam_set_item (pamh, PAM_RHOST, hostname);
        (void) pam_set_item (pamh, PAM_TTY, "tty");
  
Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-09-11 17:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.93.960911091801.8445B-100000@redhat.com>
1996-09-11 17:59 ` Thomas Bogendoerfer [this message]
     [not found] <Pine.LNX.3.93.960910091344.22699E-100000@redhat.com>
1996-09-10 17:10 ` how to rsh/rlogin as root with PAM ? Harald Koenig
1996-09-11  5:29 ` Thomas Bogendoerfer
1996-09-11 13:19   ` Erik Troan
1996-09-10 18:27 Michael K. Johnson
1996-09-10 23:50 ` Harald Koenig
  -- strict thread matches above, loose matches on Subject: below --
1996-09-10 18:19 Michael K. Johnson
     [not found] <199609101506.LAA30938@tristan.redhat.com>
1996-09-10 17:59 ` Harald Koenig
1996-09-10 15:06 Michael K. Johnson
     [not found] <Pine.LNX.3.93.960909104628.28228J-100000@redhat.com>
1996-09-09 15:50 ` Harald Koenig
1996-09-10 13:12   ` Erik Troan
1996-09-10  4:41 ` Thomas Bogendoerfer
1996-09-10 13:14   ` Erik Troan
     [not found] <Pine.LNX.3.94.960908155253.3290A-100000@porky.redhat.com>
1996-09-09  8:23 ` Harald Koenig
1996-09-09 14:47   ` Erik Troan
1996-09-07  9:44 Harald Koenig
1996-09-08 19:53 ` Erik Troan
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