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 TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -204,8 +204,6 @@ distribution-etc-root-var: distrib-dirs
cd mail && exec ${MAKE} distribution cd mail && exec ${MAKE} distribution
${INSTALL} -c -o root -g wheel -m 600 root/root.mail \ ${INSTALL} -c -o root -g wheel -m 600 root/root.mail \
${DESTDIR}/var/mail/root ${DESTDIR}/var/mail/root
${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \
${DESTDIR}/etc/sudoers
cd rc.d; \ cd rc.d; \
${INSTALL} -c -o root -g wheel -m 644 rc.subr \ ${INSTALL} -c -o root -g wheel -m 644 rc.subr \
${DESTDIR}/etc/rc.d && \ ${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 # List of files which the security script backs up and checks
# for modifications. # for modifications.
@ -121,7 +121,6 @@
/etc/ssh/ssh_host_rsa_key.pub /etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/sshd_config /etc/ssh/sshd_config
/etc/ssl/cert.pem /etc/ssl/cert.pem
/etc/sudoers
/etc/suid_profile /etc/suid_profile
/etc/sysctl.conf /etc/sysctl.conf
/etc/syslog.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. # 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 ssh_host_rsa_key.pub type=file mode=0644 uname=root gname=wheel optional
sshd_config type=file mode=0644 uname=root gname=wheel sshd_config type=file mode=0644 uname=root gname=wheel
.. #ssh .. #ssh
sudoers type=file mode=0440 uname=root gname=wheel
systrace type=dir mode=0755 uname=root gname=wheel optional systrace type=dir mode=0755 uname=root gname=wheel optional
.. #systrace .. #systrace
syslog.conf type=file mode=0644 uname=root gname=wheel syslog.conf type=file mode=0644 uname=root gname=wheel


Loading…
Cancel
Save