From owner-freebsd-questions Mon Jul 31 9:43:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 5FEAC37BACD for ; Mon, 31 Jul 2000 09:43:14 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (sol.cs.binghamton.edu [128.226.123.100]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id MAA24322; Mon, 31 Jul 2000 12:43:10 -0400 (EDT) Date: Mon, 31 Jul 2000 12:40:30 -0400 (EDT) From: Zhihui Zhang To: Dan Nelson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: automatic log in In-Reply-To: <20000730205326.A18493@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 Jul 2000, Dan Nelson wrote: > In the last episode (Jul 30), Zhihui Zhang said: > > > > A wild thought. If I am the only user of a FreeBSD machine, can I set the > > machine so that it automatically logs into my account after reboot? > > Thanks. > > You can create a custom getty entry in /etc/gettytab with the "al" > capability, then assign that getty entry to a vty in /etc/ttys. That > should do it. > Thanks for your reply. I searched the mailing list archive. It seems to me that I need to hack getty to achieve this. "al" was not mentioned at all. Maybe newer versions of FreeBSD make this easy. But at least I should have to specify the username somehow. If this can be done without hacking any code, please give me more specific instructions. Thanks. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message