summaryrefslogtreecommitdiffstats
path: root/include/ttyent.h
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-01-02 08:05:43 +0000
committerdavidn <davidn@FreeBSD.org>1997-01-02 08:05:43 +0000
commit92746eca8682886861092d9eca8783451c1e5fd0 (patch)
tree62a914cb0e26eee76f6757ec5a9ef9b1ae57d3e6 /include/ttyent.h
parent7174e698fdd0caf4f14e4f893f1bcec7a1f74e80 (diff)
downloadFreeBSD-src-92746eca8682886861092d9eca8783451c1e5fd0.zip
FreeBSD-src-92746eca8682886861092d9eca8783451c1e5fd0.tar.gz
Added group= facility to /etc/ttys for tty grouping for more
more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database.
Diffstat (limited to 'include/ttyent.h')
-rw-r--r--include/ttyent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index e95db25..accaf9c 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -42,6 +42,8 @@
#define _TTYS_ON "on"
#define _TTYS_SECURE "secure"
#define _TTYS_WINDOW "window"
+#define _TTYS_GROUP "group"
+#define _TTYS_NOGROUP "none"
struct ttyent {
char *ty_name; /* terminal device name */
@@ -52,6 +54,7 @@ struct ttyent {
int ty_status; /* status flags */
char *ty_window; /* command to start up window manager */
char *ty_comment; /* comment field */
+ char *ty_group; /* tty group */
};
#include <sys/cdefs.h>
OpenPOWER on IntegriCloud