Subject: Re: cgd: booting unattended (without it)
To: None <port-i386@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: port-i386
Date: 01/19/2007 19:07:01
On Fri, 19 Jan 2007, Hauke Fath wrote:
> The question here is whether cgd needs interaction with the user
> during mount; my understanding is that since amd(8) runs daemonized,
> whatever it execs is not provided with a terminal.
I have a version of getpass() that contains an embedded HTTPS web
server, so you can type the password either on /dev/tty or on a secure
web page at a non-standard port. For now, I am just offering the idea,
not the code. My implementation uses a modified version of shttpd.
--apb (Alan Barrett)