From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199609111759.TAA00357@bigbug.franken.de> Date: Wed, 11 Sep 1996 19:59:47 +0200 (MET DST) From: Thomas Bogendoerfer Subject: Re: how to rsh/rlogin as root with PAM ? In-Reply-To: > 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