From owner-freebsd-questions Tue Apr 4 18:49:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw02.execpc.com (mailgw02.execpc.com [169.207.3.78]) by hub.freebsd.org (Postfix) with ESMTP id F2B6B37BBCD for ; Tue, 4 Apr 2000 18:49:06 -0700 (PDT) (envelope-from hamilton@pobox.com) Received: from woodstock.monkey.net (narn-1-110.mdm.mke.execpc.com [169.207.134.110]) by mailgw02.execpc.com (8.9.1) id UAA02594; Tue, 4 Apr 2000 20:48:45 -0500 Received: from pobox.com (localhost [127.0.0.1]) by woodstock.monkey.net (Postfix) with ESMTP id CEC7917A; Tue, 4 Apr 2000 20:51:01 -0500 (CDT) X-Mailer: exmh version 2.1.1 10/16/1999 To: freebsd release email account Cc: questions@freebsd.org Subject: Re: Usernames login at bootup In-reply-to: Your message of "Tue, 04 Apr 2000 18:30:50 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Apr 2000 20:51:00 -0500 From: Jon Hamilton Message-Id: <20000405015101.CEC7917A@woodstock.monkey.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , freebsd release email account wrote: } Hello, is it possible to have a username login at bootup automaticly. If } so, how do I do it and can I limit it to a single console. In your /etc/ttys, put something like: ttyv0 "/usr/libexec/getty Autologin_hamilton" cons25 on secure And then in /etc/gettytab: Autologin_hamilton:\ :ht:np:sp#115200:al=hamilton: I ran across this by accident some time ago while trolling through the gettytab man page looking for something, and have been using it since. Obviously, you have to be aware of the security implications of doing this :) -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message