Matthias Schmidt
Philipps University Marburg
|
![]() |
Owl control FreeBSD port
Overviewcontrol provides a common interface to register and control system facilities. This is intended primarily for facilities that can potentially be dangerous to system security, to let you enable, disable, or configure the facility independently from package installation. When run with no arguments, control lists all available facilities, their current status, and their supported settings. When a FACILITY name is specified, control may list its supported settings, reports its current status (default action), or switch it to a new STATUS.Example output# control at restricted [ public restricted ] chsh public [ public restricted ] crontab public [ public restricted ] mount public [ public restricted ] newgrp public [ public wheelonly restricted ] passwd traditional [ traditional restricted ] ping wheelonly [ public wheelonly restricted ] postfix server [ server local ] pw public [ public restricted ] sftp off [ on off ] su wheelonly [ public wheel wheelonly restricted ] traceroute wheelonly [ public wheelonly restricted ] write public [ public restricted ] # control ping wheelonly # ls -l /sbin/ping -r-sr-x--- 1 root wheel 21K Nov 5 2004 /sbin/ping* # control ping public # ls -l /sbin/ping -r-sr-xr-x 1 root wheel 21K Nov 5 2004 /sbin/ping* # control ping public Differences between original Linux and FreeBSD version
Downloadowl-control-fbsd.tgz [4 KB]InstallationBe sure to have /usr/ports/misc/findutils and /usr/ports/textproc/gsed installed.# tar xfz owl-control-fbsd.tgz # cd owl-control-fbsd # mkdir -p /etc/control.d/facilities/ # cp functions /etc/control.d/ # cp control /usr/local/sbin # cp files/* /etc/control.d/facilities/ # cp control.8 /usr/local/man/man8/ # control Authorcontrol was written by Solar Designer <solar (at) owl.openwall.com> for Openwall GNU/*/Linux. FreeBSD port by Matthias Schmidt.LicensePublic domain. |
Copyleft (l) 2002-05 by Matthias Schmidt. |