summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index b68ad10..315593a 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -9,6 +9,9 @@ CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
+beforeinstall:
+ chflags noschg /usr/bin/chpass
+
afterinstall:
chflags schg /usr/bin/chpass