Changeset 13372 in hybrid for branches/releng-10/nanobsd/cfg


Ignore:
Timestamp:
Aug 30, 2015, 12:58:01 AM (9 years ago)
Author:
rick
Message:

Sudoers entry needed to allow portal script (running as www) to invoke firewall rules (as root).

File:
1 edited

Legend:

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

    r13174 r13372  
    252252)
    253253
     254# Customize sudoers files
     255cust_sudo_rules() {
     256        chroot ${NANO_WORLDDIR} chmod -R 0440 /usr/local/etc/sudoers.d
     257}
     258
    254259
    255260
     
    351356customize_cmd cust_nano_prune
    352357customize_cmd cust_set_root_password
     358customize_cmd cust_sudo_rules
    353359#customize_cmd cust_apply_nanobsd_patches
    354360late_customize_cmd late_cust_unset_common_var_and_tmp
Note: See TracChangeset for help on using the changeset viewer.