summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-15 03:25:52 +0000
committerdg <dg@FreeBSD.org>1995-04-15 03:25:52 +0000
commitb0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471 (patch)
tree93f5afd4675ab249fe0006e8a60b7684439db219 /usr.bin/w
parentb7ad7fee08d92c010db8d3a350b96a2607304a07 (diff)
downloadFreeBSD-src-b0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471.zip
FreeBSD-src-b0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471.tar.gz
Install setgid kmem rather than setuid root. The problem with procfs that
was breaking this before has been fixed.
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/w/Makefile b/usr.bin/w/Makefile
index d1fc905..a11edff 100644
--- a/usr.bin/w/Makefile
+++ b/usr.bin/w/Makefile
@@ -6,7 +6,8 @@ MAN1= w.1 uptime.1
DPADD= ${LIBKVM}
LDADD= -lkvm
BINOWN= root
-BINMODE=4555
+BINGRP= kmem
+BINMODE=2555
LINKS= ${BINDIR}/w ${BINDIR}/uptime
.PATH: ${.CURDIR}/../../bin/ps
OpenPOWER on IntegriCloud