Changeset 13413 in hybrid for branches/releng-10/nanobsd


Ignore:
Timestamp:
Oct 3, 2015, 8:59:18 PM (9 years ago)
Author:
rick
Message:

sudoers.d should retrain normal permissions, else sudo starts to complain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/cfg/nanobsd.wleiden

    r13412 r13413  
    257257# Customize sudoers files
    258258cust_sudo_rules() {
    259         chroot ${NANO_WORLDDIR} chmod -R 0440 /usr/local/etc/sudoers.d
     259        chroot ${NANO_WORLDDIR} find /usr/local/etc/sudoers.d/ -type f -exec chmod 0640 {} \+
    260260}
    261261
Note: See TracChangeset for help on using the changeset viewer.