aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-01-02 08:05:43 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-01-02 08:05:43 +0000
commit4ae89ecdddeb79390527c427af3847e94c92a8dd (patch)
tree62a914cb0e26eee76f6757ec5a9ef9b1ae57d3e6 /include
parent0cfdb0f162f5601b6f4b1376537b092186691b61 (diff)
downloadsrc-4ae89ecdddeb79390527c427af3847e94c92a8dd.tar.gz
src-4ae89ecdddeb79390527c427af3847e94c92a8dd.zip
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.
Notes
Notes: svn path=/head/; revision=21189
Diffstat (limited to 'include')
-rw-r--r--include/ttyent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index e95db259ca2d..accaf9cb1c80 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>