Subject: Re: Auto-login
To: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 09/23/1998 19:07:34
On Thu, 24 Sep 1998, Hubert Feyrer wrote:
: The whole trick is to put the login procedure into /etc/ttys. Sadly,
: somely "login foo" won't work for some strange reasons (resulting in
: "getty responding too fast").
This is because the stdin of an init-spawned getty is null; login will exit,
and init will subsequently restart it. The tty is given as a command line
option.
: Simple, and it works. After that, you should start up some window system
: in your .login or whatever.
This sounds like a job for "extra options to login" - say, let it pop up a
login on a given tty if argv[optind + 2] exists.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)