Browse Source

Remove sudoers

OPENBSD_5_8
millert 9 years ago
parent
commit
9eb85f0322
3 changed files with 3 additions and 7 deletions
  1. +1
    -3
      src/etc/Makefile
  2. +1
    -2
      src/etc/changelist
  3. +1
    -2
      src/etc/mtree/special

+ 1
- 3
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.403 2015/05/18 15:17:29 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.404 2015/07/03 22:05:53 millert Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -204,8 +204,6 @@ distribution-etc-root-var: distrib-dirs
cd mail && exec ${MAKE} distribution
${INSTALL} -c -o root -g wheel -m 600 root/root.mail \
${DESTDIR}/var/mail/root
${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \
${DESTDIR}/etc/sudoers
cd rc.d; \
${INSTALL} -c -o root -g wheel -m 644 rc.subr \
${DESTDIR}/etc/rc.d && \


+ 1
- 2
src/etc/changelist View File

@ -1,4 +1,4 @@
# $OpenBSD: changelist,v 1.103 2014/10/02 09:02:48 mpi Exp $
# $OpenBSD: changelist,v 1.104 2015/07/03 22:05:53 millert Exp $
#
# List of files which the security script backs up and checks
# for modifications.
@ -121,7 +121,6 @@
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/sshd_config
/etc/ssl/cert.pem
/etc/sudoers
/etc/suid_profile
/etc/sysctl.conf
/etc/syslog.conf


+ 1
- 2
src/etc/mtree/special View File

@ -1,4 +1,4 @@
# $OpenBSD: special,v 1.112 2014/12/26 21:17:32 tedu Exp $
# $OpenBSD: special,v 1.113 2015/07/03 22:05:53 millert Exp $
#
# Hand-crafted mtree specification for the dangerous files.
#
@ -107,7 +107,6 @@ ssh_host_rsa_key type=file mode=0600 uname=root gname=wheel optional
ssh_host_rsa_key.pub type=file mode=0644 uname=root gname=wheel optional
sshd_config type=file mode=0644 uname=root gname=wheel
.. #ssh
sudoers type=file mode=0440 uname=root gname=wheel
systrace type=dir mode=0755 uname=root gname=wheel optional
.. #systrace
syslog.conf type=file mode=0644 uname=root gname=wheel


Loading…
Cancel
Save