Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc spwd.db should be 0600 (Brooks Davis)
details: https://anonhg.NetBSD.org/src/rev/442419c456a3
branches: trunk
changeset: 784491:442419c456a3
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 29 20:21:02 2013 +0000
description:
spwd.db should be 0600 (Brooks Davis)
diffstat:
etc/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 5014da1b94f6 -r 442419c456a3 etc/Makefile
--- a/etc/Makefile Tue Jan 29 19:56:43 2013 +0000
+++ b/etc/Makefile Tue Jan 29 20:21:02 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.402 2013/01/14 20:05:42 mlelstv Exp $
+# $NetBSD: Makefile,v 1.403 2013/01/29 20:21:02 christos Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -260,8 +260,10 @@
${DESTDIR}/etc/master.passwd
.if ${MKUNPRIVED} != "no"
( \
- for metaent in passwd pwd.db spwd.db; do \
- echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
+ mode=0600; \
+ for metaent in spwd.db passwd pwd.db; do \
+ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \
+ mode=0644; \
done; \
) | ${METALOG.add}
.endif # MKUNPRIVED != no
Home |
Main Index |
Thread Index |
Old Index