summaryrefslogtreecommitdiffstats
path: root/system_cmds/login.tproj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/login.tproj/Makefile')
-rw-r--r--system_cmds/login.tproj/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/system_cmds/login.tproj/Makefile b/system_cmds/login.tproj/Makefile
index 8a5ee71..a936913 100644
--- a/system_cmds/login.tproj/Makefile
+++ b/system_cmds/login.tproj/Makefile
@@ -1,4 +1,11 @@
PROG= login
SRCS= klogin.c login_audit.c login.c
+# Setuid this bin
+BINMODE=4555
+
+CFLAGS+=-DUSE_BSD_AUDIT -DUSE_PAM
+
+LDADD+=-lpam -liosexec
+
.include <bsd.prog.mk>