artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd4ef1
)
An empty file /var/account/acct in etc.tgz simplifies accounting.
author
bluhm
<bluhm@openbsd.org>
Thu, 29 Feb 2024 22:21:21 +0000
(22:21 +0000)
committer
bluhm
<bluhm@openbsd.org>
Thu, 29 Feb 2024 22:21:21 +0000
(22:21 +0000)
OK deraadt@
distrib/sets/lists/etc/mi
patch
|
blob
|
history
etc/Makefile
patch
|
blob
|
history
diff --git
a/distrib/sets/lists/etc/mi
b/distrib/sets/lists/etc/mi
index
3b75fe4
..
7547d98
100644
(file)
--- a/
distrib/sets/lists/etc/mi
+++ b/
distrib/sets/lists/etc/mi
@@
-55,6
+55,7
@@
./root/.login
./root/.profile
./root/.ssh/authorized_keys
+./var/account/acct
./var/crash/minfree
./var/cron/at.deny
./var/cron/cron.deny
diff --git
a/etc/Makefile
b/etc/Makefile
index
307c698
..
3d157d8
100644
(file)
--- a/
etc/Makefile
+++ b/
etc/Makefile
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile,v 1.48
7 2023/12/13 11:34:56 job
Exp $
+# $OpenBSD: Makefile,v 1.48
8 2024/02/29 22:21:21 bluhm
Exp $
.include <bsd.own.mk>
@@
-175,6
+175,8
@@
distribution-etc-root-var: distrib-dirs
chown -h root:wheel ${DESTDIR}/etc/localtime
ln -fs /usr/sbin/rmt ${DESTDIR}/etc/rmt
chown -h root:wheel ${DESTDIR}/etc/rmt
+ ${INSTALL} -c -o root -g wheel -m 644 /dev/null \
+ ${DESTDIR}/var/account/acct
${INSTALL} -c -o root -g wheel -m 644 minfree \
${DESTDIR}/var/crash
${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \