summaryrefslogtreecommitdiff
path: root/usr.bin/login/login.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-31 12:21:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-31 12:21:45 +0000
commit80eb0799635767f31b46a224c305ee4e709a24ce (patch)
treec62e01218daaae6946d13fa5e5aa7164d773b8e7 /usr.bin/login/login.c
parent4260a852e052d505e4f248cc768e7866ab27dfa1 (diff)
fbtab support from wietse
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r--usr.bin/login/login.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index d9f4075cc4f..3740bd9d6f4 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login.c,v 1.5 1996/07/20 09:10:59 deraadt Exp $ */
+/* $OpenBSD: login.c,v 1.6 1996/07/31 12:21:43 deraadt Exp $ */
/* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: login.c,v 1.5 1996/07/20 09:10:59 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: login.c,v 1.6 1996/07/31 12:21:43 deraadt Exp $";
#endif /* not lint */
/*
@@ -384,6 +384,8 @@ main(argc, argv)
dolastlog(quietlog);
+ login_fbtab(tty, pwd->pw_uid, pwd->pw_gid);
+
(void)chown(ttyn, pwd->pw_uid,
(gr = getgrnam(TTYGRPNAME)) ? gr->gr_gid : pwd->pw_gid);
#if defined(KERBEROS) || defined(KERBEROS5)