#64554 ssh: ssh doesn't respect /etc/securetty

#64554#5
Date:
2000-05-23 22:08:49 UTC
From:
To:
	sshd does not check /etc/securetty when a user is logging in as
root.  Yes, I know there is a specific configuration flag in sshd_config
for this.  However, it would be more consistant if sshd checked it as well
as being simplier for a sysadmin to be able to control root logins from
one file (which is the intent of /etc/securetty in the first place).

	Chris Pimlott

#64554#10
Date:
2001-08-30 18:09:09 UTC
From:
To:
This makes no sense.  SSH is a network protocol -- Therefore you will only
ever login via SSH on a VTY (virtual terminal), never a TTY (such as tty1 or
ttyS0.)  In addition, there is no way to control which VTY you are logged in
under.  If SSH was to add /etc/securetty support, you'd need to add every
virtual TTY in /dev/pts as a secure tty, which would then allow people to
login as root via telnet, ftp, and other services that read /etc/securetty.