#!/bin/sh # Configure sudoers. install_file -m 0600 \ /usr/local/etc/sudoers \ /usr/local/etc/sudoers.d/networkmgr # Configure devd for Android USB tethering. install_file -m 0644 /etc/devd/usb-tether.conf service devd restart # Configure KRB5/LDAP. But only for manual use, not for NSS/PAM. pkg install -y \ krb5 \ cyrus-sasl-gssapi \ openldap26-client \ perl5 \ p5-perl-ldap \ p5-Authen-SASL install_template -m 0644 \ /etc/krb5.conf \ /usr/local/etc/openldap/ldap.conf install_file -m 0555 /usr/local/libexec/idm-ssh-known-hosts