lkml.org 
[lkml]   [1998]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux login security approaches
From
Date
Neil Conway <nconway.list@ukaea.org.uk> writes:

> Linux needs some sort of "SAK" - someone else pointed out that it's
> already doable with serial lines. How about with X? Does one simply do
> "C-A-Backspace"?
>
> How are people dealing with this at present?

At the console, you can press alt-sysrq-k - SAK.
At X console, killing Xserver with ctrl-alt-bs will do.
Using telnet/ssh/etc you don't have this problem at all.

However you can't do that when using dial-up connection - previous
user can easily set CLOCAL flag on /dev/ttyS* and have a trojan
get your login/password when you call.

The solution here is to make the dial-in user unable to change this
tty flag (and possibly other ones) - I believe getty using
TIOCSLCKTRMIOS/TIOCGLCKTRMIOS should be enough.

Looks like it's a userspace problem.
--
Krzysztof Halasa
Network Administrator of The Palace of Youth in Warsaw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.091 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site