sudo/rc.sudo

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

michael@456 1 #!@l_prefix@/bin/openpkg rc
michael@456 2 ##
michael@456 3 ## rc.sudo -- Run-Commands
michael@456 4 ##
michael@456 5
michael@456 6 %config
michael@456 7 sudo_enable="$openpkg_rc_def"
michael@456 8 sudo_log_prolog="true"
michael@456 9 sudo_log_epilog="true"
michael@456 10 sudo_log_numfiles="10"
michael@456 11 sudo_log_minsize="1M"
michael@456 12 sudo_log_complevel="9"
michael@456 13
michael@456 14 %daily -u @l_susr@
michael@456 15 rcService sudo enable yes || exit 0
michael@456 16 shtool rotate -f \
michael@456 17 -n ${sudo_log_numfiles} -s ${sudo_log_minsize} -d \
michael@456 18 -z ${sudo_log_complevel} -o @l_rusr@ -g @l_rgrp@ -m 644 \
michael@456 19 -P "${sudo_log_prolog}" \
michael@456 20 -E "${sudo_log_epilog}" \
michael@456 21 @l_prefix@/var/sudo/sudo.log
michael@456 22

mercurial