summaryrefslogtreecommitdiffstats
path: root/libexec/getty/gettytab.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-04 04:36:50 +0000
committerpeter <peter@FreeBSD.org>1999-04-04 04:36:50 +0000
commitdf68fc891ee0312e07a22bce08ce1dbceab3cc8c (patch)
treeda3be46c62a4c622a7e6485d49a37765a7cc2337 /libexec/getty/gettytab.h
parent51fa2770453bbfdd2e24f97d58127572525f6cf9 (diff)
downloadFreeBSD-src-df68fc891ee0312e07a22bce08ce1dbceab3cc8c.zip
FreeBSD-src-df68fc891ee0312e07a22bce08ce1dbceab3cc8c.tar.gz
Add an 'al' (autologin username) capability to getty/gettytab. This is a
damn useful thing for using with serial consoles in clusters etc or secure console locations. Using a custom gettytab entry for console with an entry like 'al=root' means that there is *always* a root login ready on the console. This should replace hacks like those which go with conserver etc. (This is a loaded gun, watch out for those feet!) Submitted by: "Andrew J. Korty" <ajk@purdue.edu>
Diffstat (limited to 'libexec/getty/gettytab.h')
-rw-r--r--libexec/getty/gettytab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/getty/gettytab.h b/libexec/getty/gettytab.h
index 1321ad1..1323f67 100644
--- a/libexec/getty/gettytab.h
+++ b/libexec/getty/gettytab.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)gettytab.h 8.2 (Berkeley) 3/30/94
- * $Id$
+ * $Id: gettytab.h,v 1.8 1997/02/22 14:21:38 peter Exp $
*/
/*
@@ -90,6 +90,7 @@ struct gettyflags {
#define IF gettystrs[26].value
#define IC gettystrs[27].value
#define AC gettystrs[28].value
+#define AL gettystrs[29].value
/*
* Numeric definitions.
OpenPOWER on IntegriCloud