command
stringlengths
1
42
description
stringlengths
29
182k
name
stringlengths
7
64.9k
synopsis
stringlengths
4
85.3k
options
stringclasses
593 values
examples
stringclasses
455 values
skywalkctl
skywalkctl is a utility used to interact with the Skywalk subsystem, which provides the plumbing between various networking-related pieces of software and hardware. It should only be used in a test and debug context. Using it for any other purpose is strongly discouraged. It is composed of multiple commands list belo...
skywalkctl - Interact with Skywalk subsystem
skywalkctl <command> [ <args> ]
null
null
mkpassdb
mkpassdb creates or modifies the password server database directly. mkpassdb must be run as root; it will exit otherwise. The -list command is the only exception. This tool's purpose is to create and manage the password server database. It performs operations that are not supported by the password server protocol becau...
mkpassdb – Mac OS X Server Password Server database creation tool
mkpassdb -deleteslot slot-ID mkpassdb -dump [-v] mkpassdb -dump [slot-ID] mkpassdb -header mkpassdb -kerberize mkpassdb -key mkpassdb -list mkpassdb -mergedb path mkpassdb -mergeparent path mkpassdb -setadmin slot-ID [admin-class (0-7)] mkpassdb -setglobalpolicy "policy1=value1 policy2=value2 etc." mkpassdb -setkerbero...
The following options are available: -a add a new administrator to an existing database. -b add a new non-administrative user to an existing database. -e expand the database to a fixed number of records. If the number is greater than the current size of the database, then the database is expanded; otherwise, n...
null
postconf
By default, the postconf(1) command displays the values of main.cf configuration parameters, and warns about possible mis-typed parameter names (Postfix 2.9 and later). The command can also change main.cf configuration parameter values, or display other configuration information about the Postfix mail system. Options:...
postconf - Postfix configuration utility
Managing main.cf: postconf [-dfhHnopvx] [-c config_dir] [-C class,...] [parameter ...] postconf [-epv] [-c config_dir] parameter=value ... postconf -# [-pv] [-c config_dir] parameter ... postconf -X [-pv] [-c config_dir] parameter ... Managing master.cf service entries: postconf -M [-fovx] [-c config_dir] [service[/typ...
null
null
createhomedir
createhomedir provides several options for creating and populating home directories.
createhomedir – create and populate home directories on the local computer.
createhomedir [-scbalh] [-n directoryDomainName] [-u username]
-s creates home directories for server home paths only (default). -c creates home directories for local home paths only. -b creates home directories for both server and local home paths. -a creates home directories for users defined in all directory domains of the server's search path. -l ...
null
ocspd
ocspd performs caching and network fetching of Certificate Revocation Lists (CRLs) and Online Certificate Status Protocol (OCSP) responses. It is used by Security.framework during certificate verification. Security.framework communicates with ocspd via a private RPC interface. When Security.framework determines that a ...
ocspd – OCSP and CRL Daemon
ocspd
null
null
iostat
The iostat utility displays kernel I/O statistics on terminal, device and cpu operations. The first statistics that are printed are averaged over the system uptime. To get information about the current activity, a suitable wait time should be specified, so that the subsequent sets of printed statistics will be averag...
iostat – report I/O statistics
iostat [-CUdKIoT?] [-c count] [-n devs] [-w wait] [drives]
null
iostat -w 1 disk0 disk2 Display statistics for the first and third disk devices device every second ad infinitum. iostat -c 2 Display the statistics for the first four devices in the system twice, with a one second display interval. iostat -Iw 3 Display total statistics every three seconds ad infinitum. iostat -odICTw ...
cvdb
cvdb provides a mechanism for developers and system administrators to extract debugging information from the Xsan File System client filesystem. It can be used by system administrators to change the level of system logging that the client filesystem performs. There is also a switch to retrieve various statistics. USA...
cvdb - Xsan Client File System Debugger
cvdb [options]
-g Retrieve the debug log from a running system. The log pointers are reset after this command, so that the next invocation of cvdb -g will retrieve new information from the buffer. -C Continuously snap the trace. (Only useful with the -g option.) -S stopfile Stop snapping the trace when the file stopfile appe...
null
sa
The sa utility reports on, cleans up, and generally maintains system accounting files. The sa utility is able to condense the information in /var/account/acct into the summary files /var/account/savacct and /var/account/usracct, which contain system statistics according to command name and login id, respectively. This...
sa – print system accounting statistics
sa [-abcdDfijkKlmnqrstu] [-P file] [-U file] [-v cutoff] [file ...]
null
null
rpc.lockd
The rpc.lockd utility provides monitored and unmonitored file and record locking services in an NFS environment. To monitor the status of hosts requesting locks, the locking daemon typically operates in conjunction with rpc.statd(8). The rpc.lockd utility runs whenever its services are needed to support either the NFS...
rpc.lockd – NFS file locking daemon
rpc.lockd [-d debug_level] [-g grace_period] [-x host_monitor_cache_period]
null
null
uuxqt
The uuxqt daemon executes commands requested by uux (1) from either the local system or from remote systems. It is started automatically by the uucico (8) daemon (unless uucico (8) is given the -q or --nouuxqt option). There is normally no need to run this command, since it will be invoked by uucico (8). However, it ...
uuxqt - UUCP execution daemon
uuxqt [ options ]
The following options may be given to uuxqt. -c command, --command command Only execute requests for the specified command. For example: uuxqt --command rmail -s system, --system system Only execute requests originating from the specified system. -x type, --debug type Turn on particular debugging types. The following...
null
mkfile
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas. The sticky bit is set, and the file is padded with zeroes by default. Non-root users must set the sticky bit using chmod(1). The default size unit is bytes, but the following suffixes may be used to multiply by the given factor: b ...
mkfile – create a file
mkfile [-nv] size[b|k|m|g] file ...
-n Create an empty filename. The size is noted, but disk blocks aren't allocated until data is written to them. -v Verbose. Report the names and sizes of created files. WARNING If a client's swap file is removed and recreated, it must be re-exported before the client will be able to access it. This action ma...
null
softwareupdate
Software Update checks for new and updated versions of your software based on information about your computer and current software. Invoke softwareupdate by specifying a command followed by zero or more args. softwareupdate requires admin authentication for all commands except --list. If you run softwareupdate as a no...
softwareupdate – system software update tool
softwareupdate command [args ...]
null
The following examples are shown as given to the shell: softwareupdate --list Software Update Tool Finding available software Software Update found the following new or updated software: * Label: MacBookAirEFIUpdate2.4-2.4 Title: MacBook Air EFI Firmware Update, Version: 2.4, Size: 3817K, Recommended: YES, Action: rest...
unsetpassword
null
null
null
null
null
zic
The zic program reads text from the file(s) named on the command line and creates the timezone information format (TZif) files specified in this input. If a filename is “-”, standard input is read. The following options are available: --version Output version information and exit. --help Output short usage message an...
zic – timezone compiler
zic [--help] [--version] [-Dsv] [-b slim | fat] [-d directory] [-g gid] [-l localtime] [-L leapseconds] [-m mode] [-p posixrules] [-r [@lo][/@hi]] [-R -@hi] [-t localtime-link] [-u uid] [filename ...]
null
null
nfs4mapid
In the first form, nfs4mapid shows translations from NFSv4 string representations of users, and with the -G option, groups, to the corresponding local uids and gids. In the second form shows the translations from opendirectoy GUIDS to NFSv4 strings. The well known strings names (which are distinguished by a trailing ‘...
nfs4mapid – shows NFSv4 mappings from uids or gids to over the wire string names and string names to uids or gids.
nfs4mapid [-G] string name nfs4mapid [-G] GUID nfs4mapid -u uid nfs4mapid -g gid
null
null
postsuper
The postsuper(1) command does maintenance jobs on the Postfix queue. Use of the command is restricted to the superuser. See the postqueue(1) command for unprivileged queue operations such as listing or flushing the mail queue. By default, postsuper(1) performs the operations requested with the -s and -p command-line o...
postsuper - Postfix superintendent
postsuper [-psSv] [-c config_dir] [-d queue_id] [-h queue_id] [-H queue_id] [-r queue_id] [directory ...]
null
null
htpasswd
null
htpasswd - Manage user files for basic authentication
htpasswd [ -c ] [ -i ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -D ] [ -v ] passwdfile username htpasswd -b [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -D ] [ -v ] passwdfile username password htpasswd -n [ -i ] [ -m | -B | -d | -s | -p ] [ -C cost ] username htpasswd -nb [ -m | -B | -d | -s | -p ] [ -C cost ] user...
-b Use batch mode; i.e., get the password from the command line rather than prompting for it. This option should be used with extreme care, since the password is clearly visible on the command line. For script use see the -i option. Available in 2.4.4 and later. -i Read the password from stdin without verificat...
htpasswd /usr/local/etc/apache/.htpasswd-users jsmith Adds or modifies the password for user jsmith. The user is prompted for the password. The password will be encrypted using the modified Apache MD5 algorithm. If the file does not exist, htpasswd will do nothing except return an error. htpasswd -c /home/doe/public_ht...
rotatelogs
null
rotatelogs - Piped logging program to rotate Apache logs
rotatelogs [ -l ] [ -L linkname ] [ -p program ] [ -f ] [ -D ] [ -t ] [ -v ] [ -e ] [ -c ] [ -n number-of-files ] logfile rotationtime|filesize(B|K|M|G) [ offset ] SUMMARY rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature. It supports rotation based on a time interval or maximum ...
-l Causes the use of local time rather than GMT as the base for the interval or for strftime(3) formatting with size-based rotation. -L linkname Causes a hard link to be made from the current logfile to the specified link name. This can be used to watch the log continuously across rotations using a command like tai...
CustomLog "|bin/rotatelogs /var/log/logfile 86400" common This creates the files /var/log/logfile.nnnn where nnnn is the system time at which the log nominally starts (this time will always be a multiple of the rotation time, so you can synchronize cron scripts with it). At the end of each rotation time (here after 24 ...
universalaccessd
universalaccessd provides universal access services. There are no configuration options to universalaccessd. Users should not run universalaccessd manually. macOS October 6, 2011 macOS
universalaccessd – universal access server
universalaccessd
null
null
audit
The audit utility controls the state of the audit system. One of the following flags is required as an argument to audit: -e Forces the audit system to immediately remove audit log files that meet the expiration criteria specified in the audit control file without doing a log rotation. -i Initializes and star...
audit – audit management utility DEPRECATION NOTICE The audit(4) subsystem has been deprecated since macOS 11.0, disabled since macOS 14.0, and WILL BE REMOVED in a future version of macOS. Applications that require a security event stream should use the EndpointSecurity(7) API instead. On this version of macOS, you ca...
audit -e | -i | -n | -s | -t | -c
null
null
httpd
null
httpd - Apache Hypertext Transfer Protocol Server
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop|graceful-stop ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] [ -T ] On Windows systems, the following additional arguments are available: httpd [ -k instal...
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configuration file. The default is /usr. -f config Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the...
null
slapauth
Slapauth is used to check the behavior of the slapd in mapping identities for authentication and authorization purposes, as specified in slapd.conf(5). It opens the slapd.conf(5) configuration file or the slapd-config(5) backend, reads in the authz-policy/olcAuthzPolicy and authz-regexp/olcAuthzRegexp directives, and ...
slapauth - Check a list of string-represented IDs for LDAP authc/authz
/usr/sbin/slapauth [-d_debug-level] [-f_slapd.conf] [-F_confdir] [-M_mech] [-o_option[=value]] [-R_realm] [-U_authcID] [-v] [-X_authzID] ID [...]
-d_debug-level enable debugging messages as defined by the specified debug-level; see slapd(8) for details. -f_slapd.conf specify an alternative slapd.conf(5) file. -F_confdir specify a config directory. If both -f and -F are specified, the config file will be read and converted to config directory format and written ...
The command /usr/sbin/slapauth -f //etc/openldap/slapd.conf -v \ -U bjorn -X u:bjensen tests whether the user bjorn can assume the identity of the user bjensen provided the directives authz-policy from authz-regexp "^uid=([^,]+).*,cn=auth$" "ldap:///dc=example,dc=net??sub?uid=$1" are defined in slapd.conf(5). SEE ALSO ...
slappasswd
Slappasswd is used to generate an userPassword value suitable for use with ldapmodify(1), slapd.conf(5) rootpw configuration directive or the slapd-config(5) olcRootPW configuration directive.
slappasswd - OpenLDAP password utility
/usr/sbin/slappasswd [-v] [-u] [-g|-s secret|-T file] [-h_hash] [-c_salt-format] [-n]
-v enable verbose mode. -u Generate RFC 2307 userPassword values (the default). Future versions of this program may generate alternative syntaxes by default. This option is provided for forward compatibility. -s_secret The secret to hash. If this, -g and -T are absent, the user will be prompted for the secret...
null
localemanager
localemanager creates, destroys, and edits OpenDirectory Server Locale information. Locales are collections of OpenDirectory servers to assist clients in locating the nearest OpenDirectory Server. To use OpenDirectory Server Locales, simply create a locale on an OD server with the createLocale operation. Then add ser...
localemanager – Configure OpenDirectory Server Locales
localemanager operation [-l localename] [-subnet 1.2.3.4/5] [-server servername] [-i IP address]
null
null
asr
asr efficiently copies disk images onto volumes, either directly or via a multicast network stream. asr can also accurately clone volumes without the use of an intermediate disk image. In its first form, asr copies source (usually a disk image, potentially on an HTTP server) to target. source can be specified using a ...
asr – Apple Software Restore; copy volumes (e.g. from disk images)
asr verb [options] asr restore[exact] --source source --target target [options] asr server --source source --config configuration [options] asr restore --source asr://source --file file [options] asr imagescan --source image [options] asr help | file ... version
null
Volume cloning: sudo asr restore --source /Volumes/Classic --target /Volumes/install --erase Restoring: sudo asr restore -s <compressedimage> -t <targetvol> --erase Will erase the target and potentially do a block copy restore. Multicast server: asr server --source <compressedimage> --config <configuration.plist> Will ...
cvupdatefs
The cvupdatefs program is used to commit a configuration change to a Xsan volume. Possible configuration changes include storage pool list modification as well as volume journal modification. The volume update program must be run on the machine that the File System Manager (FSM) is running on. This utility reads the co...
cvupdatefs - Commit a Xsan Volume configuration change
cvupdatefs [-bdfFhlnSv] [-c pathname] [[-M] -R NewVolName] [VolName] [VolPath]
-b Build info - log the build information. -c pathname Provide a specific path to the previous configuration file that is to be used. This option is used to force cvfsck to be run as a sub-process to insure that the volume meta data is consistent prior to doing a capacity or stripegroup expansion, or any journal c...
null
bless
bless is used to modify the volume bootability characteristics of filesystems, as well as select the active boot device. bless has 6 modes of execution: Folder Mode, Mount Mode, Device Mode, NetBoot Mode, Info Mode, and Unbless Mode. Folder Mode allows you to select a directory on a mounted volume to act as the “bless...
bless – set volume bootability and startup disk options
bless --help bless --folder directory [--file file] [--bootefi [file]] [--label name | --labelfile file] [--setBoot] [--nextonly] [--shortform] [--legacy] [--legacydrivehint device] [--options string] [--personalize] [--create-snapshot] [--snapshot] [--snapshotname] [--last-sealed-snapshot] [--quiet | --verbose] bless ...
null
FOLDER MODE To bless a volume with only Mac OS X or Darwin, and create the BootX and boot.efi files as needed: bless --folder "/Volumes/Mac OS X/System/Library/CoreServices" --bootefi MOUNT MODE To set a volume containing either Mac OS 9 and Mac OS X to be the active volume: bless --mount "/Volumes/Mac OS" --setBoot NE...
cvgather
The cvgather program is used to collect debug information from a volume. This creates a tar file of the system's Xsan File System debug logs, configuration, version information and disk devices. The cvgather program will collect client debug information on client machines and server information on server machines, as w...
cvgather - Compile debugging information for a Xsan File System (The Windows version of cvgather contains different features and options. See the StorNext Windows "Gather Debugging Info (cvgather.exe)" help page for more information.)
cvgather -f_VolName [-sukxr] [-o OutputFile] [-n NumberOfCvlogs] [-U UserCore] [-K KernelCore] [-p SnfsPath]
null
null
xscertadmin
Manage Certificate Revocation Lists (CRLs) in an Open Directory Environment. COMMANDS list [-x] [-v] [-d ⟨debug_level⟩] [-a | ⟨issuer_common_name⟩] add [-x] [-v] [-d ⟨debug_level⟩] [-r ⟨reason_code⟩] [-t ⟨type⟩] ⟨user/record name⟩ add [-x] [-v] [-d ⟨debug_level⟩] [-r ⟨reason_code⟩] [-t ⟨type⟩] -f ⟨file_of_names⟩ add [...
xscertadmin -- process Certificate Revocation Lists in an OD environment
xscertadmin command [common options] [command options]
null
null
visudo
visudo edits the sudoers file in a safe fashion, analogous to vipw(8). visudo locks the sudoers file against multiple simultaneous edits, performs basic validity checks, and checks for syntax errors before installing the edited file. If the sudoers file is currently being edited you will receive a message to try again...
visudo - edit the sudoers file
visudo [-chIOPqsV] [[-f] sudoers]
null
null
uusched
The uusched program is actually just a shell script which invokes the uucico daemon. It is provided for backward compatibility. It causes uucico to call all systems for which there is work. Any option which may be given to uucico may also be given to uusched . For more details, see uucico(8) . SEE ALSO uucp(1), uux...
uusched - schedule the uucp file transport program
uusched [ options ]
null
null
dsconfigldap
dsconfigldap allows addition or removal of LDAP server configurations. Presented below is a discussion of possible parameters. Usage has three intents: add server config, remove server config, or display help. Options list and their descriptions: -f Bindings will be established or dropped in conjunction with the ...
dsconfigldap – LDAP server configuration/binding add/remove tool.
dsconfigldap [-fvixsgmeSN] -a servername [-n configname] [-c computerid] [-u username] [-p password] [-l username] [-q password] dsconfigldap [-fviSN] -r servername [-u username] [-p password] [-l username] [-q password] options: -f force authenticated binding/unbinding -v verbose logging to stdout -i ...
null
dsconfigldap -a ldap.company.com The LDAP server config for the LDAP server myldap.company.com will be added. If authenticated directory binding is required by the LDAP server, then this call will fail. Otherwise, the following parameters configname, computerid, and local admin name will respectively pick up these defa...
smbdiagnose
The smbdiagnose tool gathers system information and network traffic in order to assist Apple when investigating issues related to SMB file sharing. A great deal of information is harvested, spanning system state, system configuration, and network traffic related to SMB file sharing. What smbdiagnose Collects: • A ne...
smbdiagnose – gather information to aid in diagnosing SMB file sharing issues
smbdiagnose -h smbdiagnose [-f path] [-s]
-h Print full usage. -f path Write the diagnostic to the specified path. The default is “~/Desktop”. -s Collect sysdiagnose(1) information. The default is not to collect sysdiagnose(1) information. EXIT STATUS smbdiagnose exits with status 0 if there were no internal errors encountered during the diagnostic...
null
cfprefsd
cfprefsd provides preferences services for the CFPreferences and NSUserDefaults APIs. There are no configuration options to cfprefsd. Users should not run cfprefsd manually. Mac OS X October 25th, 2011 Mac OS X
cfprefsd – defaults server
cfprefsd
null
null
auditd
The auditd daemon responds to requests from the audit(8) utility and notifications from the kernel. It manages the resulting audit log files and specified log file locations. The options are as follows: -d Starts the daemon in debug mode — it will not daemonize. -l This option is for when auditd is configure...
auditd – audit log management daemon DEPRECATION NOTICE The audit(4) subsystem has been deprecated since macOS 11.0, disabled since macOS 14.0, and WILL BE REMOVED in a future version of macOS. Applications that require a security event stream should use the EndpointSecurity(7) API instead. On this version of macOS, yo...
auditd [-d | -l]
null
null
uuchk
The uuchk program displays information read from the UUCP configuration files. It should be used to ensure that UUCP has been configured correctly. The -s or --system options may be used to display the configuration for just the specified system, rather than for all systems. The uuchk program also supports the standar...
uuchk - display information read from the UUCP configuration files.
uuchk [ options ]
-s system, --system system Display the configuration for just the specified system, rather than for all systems. Standard UUCP options: -I file, --config Set configuration file to use. -v, --version Report version information and exit. --help Print a help message and exit. SEE ALSO uucp(1) AUTHOR Ian Lance Taylor <ian@...
null
cvfsck
The cvfsck program can check and repair Xsan file system metadata corruption due to a system crash, bad disk or other catastrophic failure. This program also has the ability to list all of the existing files and their pertinent statistics, such as inode number, size, file type and location in the volume. If the volume ...
cvfsck - Check and Recover a Xsan Volume
cvfsck [options] [VolName] [VolPath]
NOTE: If no action flags are specified (-e, -f, -g, -j, -F, -K, -M, -p, -r, -s, -t, -w, -x, -q), then cvfsck runs in a verbose read-only mode equivalent to -nv. -4 If there are files with unconverted or partially converted xattr chains that contain xattrs greater than 4KiB in length, destroy the oversized xattrs so...
null
kextfind
The kextfind utility locates and prints information, or generates reports, about kernel extensions (kexts) matching the search criteria in query from among those in the named directory and extension arguments. If no directories or extensions are specified, kextfind searches /System/Library/Extensions and /Library/Exten...
kextfind – find kernel extensions (kexts) based on a variety of criteria and print information
kextfind [options] [--] [kext_or_directory ...] [query] [-report [-no-header] report_predicate ...] DEPRECATED The kextfind utility has been deprecated. Please use the kmutil(8) equivalent: kmutil find.
-h, -help Print a help message describing each option flag and exit with a success result, regardless of any other options on the command line. -set-arch arch Set the architecture used for such things as architecture- specific properties to arch. You can only perform a query with one such architecture; searches for mu...
The following examples are shown as given to the shell: kextfind -case-insensitive -not -bundle-id -substring 'com.apple.' -print Print a list of all non-Apple kexts. kextfind \( -nonloadable -or -warnings \) -print -print-diagnostics Print a list of all kexts that aren't loadable or that have any warnings, along with ...
diskutil
diskutil manipulates the structure of local disks. It provides information about, and allows the administration of, partitioning schemes, layouts, and formats of disks. This includes hard disks, solid state disks, optical discs, disk images, APFS volumes, CoreStorage volumes, and AppleRAID sets. It generally manipulat...
diskutil – modify, verify and repair local disks
diskutil [quiet] verb [subVerb] [options]
null
Erase a whole disk (device) diskutil eraseDisk JHFS+ Untitled disk3 Erase a volume (or format a partition or virtual disk) diskutil eraseVolume jhfs+ UntitledHFS /Volumes/SomeDisk Erase and (re)-partition a disk (device) with three partitions diskutil partitionDisk disk3 HFSX Foo1 10G JHFS+ Foo2 10G MS-DOS FOO3 0 Erase...
cvfsid
cvfsid provides a mechanism for displaying the SNFS identifier for the executing system. For customers using client-based licensing, SNFS identifiers are used to generate individual client licenses. This identifier string is submitted to Apple Technical Support for license authorization keys. See the installation in...
cvfsid - Display SNFS System Identifier
/System/Library/Filesystems/acfs.fs/Contents/bin/cvfsid [-?Ghnl]
-h, -? Display help -G Gather mode. NOTE: Not intended for general use. Only use when recommended by Apple Support. -l List the local host's Authorizing IDs, IP addresses, and MACs. (Linux only.) -n Display the network interface information in a compact, machine readable form. (Linux only.) When executed...
null
appleh16camerad
null
null
null
null
null
sso_util
sso_util is a tool for setting up, interrogating and removing Kerberos configurations within the Apple Single Sign On environment. This tool can configure services, create and consume encrypted config records and tear down Kerberos installations Commands for sso_util : info [-p] [-g | -l | -L | -r dir_node_path [dir_no...
sso_util – Kerberos – Open Directory Single Sign On
sso_util command [-args]
null
To configure a server in realm FOO.COM when you have the Kerberos administrator's password. Store the password in a file and set env var SSO_PASSWD_PATH to the file path sso_util configure -r FOO.COM -a kerberos_admin all To create a secure config record to allow the delegated administrators, Fred and Barney, to config...
vsdbutil
vsdbutil manipulates the volume status DB. The following options are available: -a adopts (activates) on-disk ownership on the specified path -c checks the status of the ownership usage on the specified path -d disowns (deactivates) the on-disk ownership on the specified path -i initializes the...
vsdbutil – manipulates the volume status DB.
vsdbutil [-a path] vsdbutil [-c path] [-d path] [-i] vsdbutil [-h]
null
null
sntpd
sntpd is an SNTP server daemon, which can provide time synchronization services to clients such as timed(8). The following options are available: -L Overwrite any existing state with a header describing a stratum 1 uncalibrated local clock. This is useful for starting a root (primary) server that doesn't use sntp(...
sntpd – very Simple Network Time Protocol server daemon
launchctl enable system/com.apple.sntpd sntpd [-L] [-z state_file]
null
null
ddns-confgen
tsig-keygen and ddns-confgen are invocation methods for a utility that generates keys for use in TSIG signing. The resulting keys can be used, for example, to secure dynamic DNS updates to a zone or for the rndc command channel. When run as tsig-keygen, a domain name can be specified on the command line which will be u...
ddns-confgen - ddns key generation tool
tsig-keygen [-a algorithm] [-h] [-r randomfile] [name] ddns-confgen [-a algorithm] [-h] [-k keyname] [-q] [-r randomfile] [-s name | -z zone]
-a algorithm Specifies the algorithm to use for the TSIG key. Available choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512. The default is hmac-sha256. Options are case-insensitive, and the "hmac-" prefix may be omitted. -h Prints a short summary of options and arguments. -k keyname...
null
ioalloccount
ioalloccount displays some accounting of memory allocated by IOKit allocators, including object instances, in the kernel. This information is useful for tracking leaks. Instance counts can also found in the root of the IORegistry in the “IOKitDiagnostics” property.
ioalloccount – Summarize IOKit memory usage.
ioalloccount
null
ioalloccount Instance allocation = 0x0022c718 = 2225 K Container allocation = 0x00141bad = 1286 K IOMalloc allocation = 0x00638221 = 6368 K Pageable allocation = 0x00f4f000 = 15676 K SEE ALSO ioclasscount(8), ioreg(8) Darwin November 6, 2008 Darwin
uasysdiagnose
uasysdiagone is used to dump a diagnostic state from useractivityd. macOS 14.5 June 15, 2017 macOS 14.5
uasysdiagone – Produce system diagnostics for UserActivity.framework
null
null
null
dev_mkdb
The dev_mkdb command creates a db(3) hash access method database in “/var/run/dev.db” which contains the names of all of the character and block special files in the “/dev” directory, using the file type and the st_rdev field as the key. Keys are a structure containing a mode_t followed by a dev_t, with any padding zer...
dev_mkdb – create /dev database
dev_mkdb
null
null
hdik
hdik is a simple tool that can be used to attach disk images directly to the DiskImages driver. The end result is functionally similar to passing -kernel to hdiutil(1)'s attach verb. hdik does not rely upon the presence of DiskImages or other high-level frameworks. The DiskImages driver only supports a selection of d...
hdik – lightweight tool to attach and mount disk images in-kernel
hdik imagefile [options] hdik -e device
-shadow [shadowfile] Use a shadow file in conjunction with the data in the image. This option prevents modification of the original image and allows read-only images to be used as read/write images. When blocks are being read from the image, blocks present in the shadow file override blocks in the base image. When blo...
null
slapdn
Slapdn is used to check the conformance of a DN based on the schema defined in slapd(8) and that loaded via slapd.conf(5). It opens the slapd.conf(5) configuration file or the slapd-config (5) backend, reads in the schema definitions, and then parses the DN list given on the command-line.
slapdn - Check a list of string-represented LDAP DNs based on schema syntax
/usr/sbin/slapdn [-d_debug-level] [-f_slapd.conf] [-F_confdir] [-N|-P] [-o_option[=value]] [-v] DN [...]
-d_debug-level enable debugging messages as defined by the specified debug-level; see slapd(8) for details. -f_slapd.conf specify an alternative slapd.conf(5) file. -F_confdir specify a config directory. If both -f and -F are specified, the config file will be read and converted to config directory format and written ...
To check a DN give the command: /usr/sbin/slapdn -f //etc/openldap/slapd.conf -v DN SEE ALSO ldap(3), slapd(8), slaptest(8) "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) ACKNOWLEDGEMENTS OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP S...
vpnd
vpnd allows external hosts to tunnel via L2TP over IPSec or via PPTP from an insecure external network (such as the Internet) into a "secure" internal network, such as a corporate network. All traffic through the tunnel is encrypted to provide secure communications, with L2TP/IPSec providing a higher level of security...
vpnd – Mac OS X VPN service daemon
vpnd [-d | -n | -x] [-i server_id] vpnd [-h]
The following options are available: -d Do not move to background and print log strings to the terminal. -h Print usage summary and exit. -i Server_id in the plist file that defines the configuration to be run. -n Do not move to background, print log information to the terminal, and quit after validating th...
The default invocation, vpnd will read the list of configurations to run from the configuration file and launch them. This default configuration may be enabled at startup by defining VPNSERVER to -YES-. To specify a particular configuration to run use vpnd -i server_id FILES & FOLDERS /usr/sbin/vpnd /etc/hostconfig /S...
postqueue
The postqueue(1) command implements the Postfix user interface for queue management. It implements operations that are traditionally available via the sendmail(1) command. See the postsuper(1) command for queue operations that require super-user privileges such as deleting a message from the queue or changing the stat...
postqueue - Postfix queue control
To flush the mail queue: postqueue [-v] [-c config_dir] -f postqueue [-v] [-c config_dir] -i queue_id postqueue [-v] [-c config_dir] -s site To list the mail queue: postqueue [-v] [-c config_dir] -j postqueue [-v] [-c config_dir] -p
null
null
setkey
setkey adds, updates, dumps, or flushes Security Association Database (SAD) entries as well as Security Policy Database (SPD) entries in the kernel. setkey takes a series of operations from standard input (if invoked with -c) or the file named filename (if invoked with -f filename). (no flag) Dump the SAD entries or SP...
setkey – manually manipulate the IPsec SA/SP database
setkey [-knrv] file ... setkey [-knrv] -c setkey [-krv] -f filename setkey [-aklPrv] -D setkey [-Pvp] -F setkey [-H] -x setkey [-?V]
null
add 3ffe:501:4819::1 3ffe:501:481d::1 esp 123457 -E des-cbc 0x3ffe05014819ffff ; add -6 myhost.example.com yourhost.example.com ah 123456 -A hmac-sha1 "AH SA configuration!" ; add 10.0.11.41 10.0.11.33 esp 0x10001 -E des-cbc 0x3ffe05014819ffff -A hmac-md5 "authentication!!" ; get 3ffe:501:4819::1 3ffe:501:481d::1 ah 12...
repairHomePermissions
null
null
null
null
null
spindump
spindump is used by various system components to create reports when an unresponsive application is force quit. Reports are stored at: /Library/Logs/DiagnosticReports/ For normal application force quits spindump will display a dialog to offer the choice to view more details and/or send a report to Apple. --------------...
spindump – Profile entire system during a time interval
spindump [pid | partial-name [duration [interval]]] [<options>]
null
null
cupsreject
The cupsaccept command instructs the printing system to accept print jobs to the specified destinations. The cupsreject command instructs the printing system to reject print jobs to the specified destinations. The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unkn...
cupsaccept/cupsreject - accept/reject jobs sent to a destination
cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s) cupsreject [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ] destination(s)
The following options are supported by both cupsaccept and cupsreject: -E Forces encryption when connecting to the server. -U username Sets the username that is sent when connecting to the server. -h hostname[:port] Chooses an alternate server. -r "reason" Sets the reason string that is shown for a printer that is re...
null
traceroute
The Internet is a large and complex aggregation of network hardware, connected together by gateways. Tracking the route one's packets follow (or finding the miscreant gateway that's discarding your packets) can be difficult. traceroute utilizes the IP protocol `time to live' field and attempts to elicit an ICMP TIME_...
traceroute – print the route packets take to network host
traceroute [-adeEFISdNnrvx] [-A as_server] [-f first_ttl] [-g gateway] [-i iface] [-M first_ttl] [-m max_ttl] [-P proto] [-p port] [-q nqueries] [-s src_addr] [-t tos] [-w waittime] [-z pausemsecs] host [packetsize]
null
null
quotaoff
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the specified filesystems should have disk quotas turned off. The filesystem must be mounted and it must have the appropriate mount option file located at its root, the .quota.ops.user ...
quotaon, quotaoff – turn filesystem quotas on and off
quotaon [-g] [-u] [-v] filesystem ... quotaon [-g] [-u] [-v] -a quotaoff [-g] [-u] [-v] filesystem ... quotaoff [-g] [-u] [-v] -a
null
null
newsyslog
The newsyslog utility should be scheduled to run periodically by cron(8). When it is executed it archives log files if necessary. If a log file is determined to require archiving, newsyslog rearranges the files so that “logfile” is empty, “logfile.0” has the last period's logs in it, “logfile.1” has the next to last p...
newsyslog – maintain system log files to manageable sizes
newsyslog [-CFNnrsv] [-R tagname] [-a directory] [-d directory] [-f config_file] [file ...]
The following options can be used with newsyslog: -f config_file Instruct newsyslog to use config_file instead of /etc/newsyslog.conf and /etc/newsyslog.d/*.conf for its configuration file. -a directory Specify a directory into which archived log files will be written. If a relative path is given, it is appended to th...
null
postfix
This command is reserved for the superuser. To submit mail, use the Postfix sendmail(1) command. The postfix(1) command controls the operation of the Postfix mail system: start or stop the master(8) daemon, do a health check, and other maintenance. By default, the postfix(1) command sets up a standardized environment a...
postfix - Postfix control program
postfix [-Dv] [-c config_dir] command
null
null
cvfsdb
The cvfsdb command is a tool for debugging an Xsan volume. WARNING: Apple Internal use only. The cvfsdb command can easily damage an Xsan volume, and should only be used under the direction of customer support.
cvfsdb - Xsan File System debugging tool SYNOPSYS cvfsdb VolName
null
VolName The volume to debug. COMMANDS The cvfsdb command is an interactive program, that contains builtin help on commands and usage. help [command] Display help information. If command is omitted, the help command will display a list of commands that cvfsdb can understand. If command is provided, command specific he...
null
snmptrapd
snmptrapd is an SNMP application that receives and logs SNMP TRAP and INFORM messages. Note: the default is to listen on UDP port 162 on all IPv4 interfaces. Since 162 is a privileged port, snmptrapd must typically be run as root.
snmptrapd - Receive and log SNMP trap messages.
snmptrapd [OPTIONS] [LISTENING ADDRESSES]
-a Ignore authenticationFailure traps. -A Append to the log file rather than truncating it. Note that this needs to come before any -Lf options that it should apply to. -c FILE Read FILE as a configuration file (or a comma-separated list of configuration files). -C Do not read any configuration files exc...
null
chroot
The chroot utility changes its current and root directories to the supplied directory newroot and then exec's command with provided arguments, if supplied, or an interactive copy of the user's login shell. The options are as follows: -G group[,group ...] Run the command with the permissions of the specified groups. -g...
chroot – change root directory
chroot [-G group[,group ...]] [-g group] [-u user] newroot [command [arg ...]]
null
Example 1: Chrooting into a New Root Directory The following command opens the csh(1) shell after chrooting to the standard root directory. # chroot / /bin/csh Example 2: Execution of a Command with a Changed Root Directory The following command changes a root directory with chroot and then runs ls(1) to list the conte...
arp
The arp utility displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol (arp(4)). With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation. Available options: -a The ...
arp – address resolution display and control
arp [-n] [-i interface] hostname arp [-n] [-i interface] [-l] -a arp -d hostname [pub] [ifscope interface] arp -d [-i interface] -a arp -s hostname ether_addr [temp] [reject] [blackhole] [pub [only]] [ifscope interface] arp -S hostname ether_addr [temp] [reject] [blackhole] [pub [only]] [ifscope interface] arp -f filen...
null
null
cupsaccept
The cupsaccept command instructs the printing system to accept print jobs to the specified destinations. The cupsreject command instructs the printing system to reject print jobs to the specified destinations. The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unkn...
cupsaccept/cupsreject - accept/reject jobs sent to a destination
cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s) cupsreject [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ] destination(s)
The following options are supported by both cupsaccept and cupsreject: -E Forces encryption when connecting to the server. -U username Sets the username that is sent when connecting to the server. -h hostname[:port] Chooses an alternate server. -r "reason" Sets the reason string that is shown for a printer that is re...
null
nvram
The nvram command allows manipulation of firmware NVRAM variables. It can be used to get or set a variable. It can also be used to print all of the variables or set a list of variables from a file. Changes to NVRAM variables are only saved by clean restart or shutdown. In principle, name can be any string. In pract...
nvram – manipulate firmware NVRAM variables
nvram [-x] [-p] [-f filename] [-d name] [-c] [name [= value [...]]]
-d name Deletes the named firmware variable. -r name Deletes the named firmware variable and returns error code if any. -f filename Set firmware variables from a text file. The file must be a list of "name value" statements. The first space on each line is taken to be the separator between "name" and "value". If t...
example% nvram boot-args="-s rd=*hd:10" Set the boot-args variable to "-s rd=*hd:10". This would specify single user mode with the root device in hard drive partition 10. example% nvram my-variable="String One%00String Two%00%00" Create a new variable, my-variable, containing a list of two C- strings that is terminate...
chown
The chown utility changes the user ID and/or the group ID of the specified files. Symbolic links named by arguments are silently left unchanged unless -h is used. The options are as follows: -H If the -R option is specified, symbolic links on the command line are followed and hence unaffected by the command. (Sym...
chown – change file owner and group
chown [-fhnvx] [-R [-H | -L | -P]] owner[:group] file ... chown [-fhnvx] [-R [-H | -L | -P]] :group file ...
null
null
mkextunpack
The mkextunpack program lists the contents of a multikext file, mkext_file, or unarchives the contents into output_directory (which must exist). The -v option causes mkextunpack to print the name if each kext as it finds them. DIAGNOSTICS mkextunpack exits with a zero status upon success. Upon failure, it prints an e...
mkextunpack – extract or list the contents of a multikext (mkext) archive
mkextunpack [-v] [-a arch] [-d output_directory] mkext_file DEPRECATED The mkextunpack utility has been deprecated.
null
null
postlog
The postlog(1) command implements a Postfix-compatible logging interface for use in, for example, shell scripts. By default, postlog(1) logs the text given on the command line as one record. If no text is specified on the command line, postlog(1) reads from standard input and logs each input line as one record. Logging...
postlog - Postfix-compatible logging utility
postlog [-iv] [-c config_dir] [-p priority] [-t tag] [text...]
null
null
installer
The installer command is used to install macOS installer packages to a specified domain or volume. The installer command installs a single package per invocation, which is specified with the -package parameter ( -pkg is accepted as a synonym). It may be either a single package or a metapackage. In the case of the me...
installer – system software and package installer tool.
installer [-dominfo] [-volinfo] [-pkginfo] [-showChoicesXML] [-showChoicesAfterApplyingChangesXML <pathToXMLFile>] [-applyChoiceChangesXML <pathToXMLFile>] [-query <flag>] [-allow] [-dumplog] [-help] [-verbose | -verboseR] [-vers] [-config] [-plist] [-file <pathToFile>] [-lang <ISOLanguageCode>] [-listiso] -pkg <pathTo...
null
installer -dominfo -pkg InstallMe.pkg installer -volinfo -pkg InstallMe.pkg installer -pkginfo -pkg DeveloperTools.mpkg installer -pkg OSInstall.mpkg -target LocalSystem installer -pkg OSInstall.mpkg -target / -lang en installer -pkg DeveloperTools.mpkg -target / installer -pkg InstallMe.pkg -target "/Volumes/Macintosh...
pppd
PPP is the protocol used for establishing internet links over dial-up modems, DSL connections, and many other types of point-to-point links. The pppd daemon works together with the kernel PPP driver to establish and maintain a PPP link with another system (called the peer) and to negotiate Internet Protocol (IP) addres...
pppd - Point-to-Point Protocol Daemon
pppd [ options ]
<local_IP_address>:<remote_IP_address> Set the local and/or remote interface IP addresses. Either one may be omitted. The IP addresses can be specified with a host name or in decimal dot notation (e.g. 150.234.56.78). The default local address is the (first) IP address of the system (unless the noipdefault option is...
The following examples assume that the /etc/ppp/options file contains the auth option (as in the default /etc/ppp/options file in the ppp distribution). Probably the most common use of pppd is to dial out to an ISP. This can be done with a command such as pppd call isp where the /etc/ppp/peers/isp file is set up by th...
httpd-wrapper
This tool extracts environment variable definitions from a specific plist file and then execs the httpd executable, thereby allowing variables to be used in Apache's paramaterized config files. It also gathers minimal metrics on the usage of Apache. FILES /etc/apache2/env.plist The file where environment variables are ...
httpd-wrapper – Wrapper script for httpd web server
null
null
null
system_profiler
system_profiler reports on the hardware and software configuration of the system. It can generate plain text reports or XML reports which can be opened with System Information.app, or JSON reports Progress and error messages are printed to stderr while actual report data is printed to stdout. Redirect stderr to /dev/...
system_profiler – reports system hardware and software configuration.
system_profiler [-usage] system_profiler [-listDataTypes] system_profiler [-xml] dataType1 ... dataTypeN system_profiler [-xml] [-detailLevel level] system_profiler [-json] dataType1 ... dataTypeN system_profiler [-json] [-detailLevel level]
null
system_profiler Generates a text report with the standard detail level. system_profiler -detailLevel mini Generates a short report containing no personal information. system_profiler -listDataTypes Shows a list of the available data types. system_profiler SPSoftwareDataType SPNetworkDataType Generates a text report con...
fcgistarter
null
fcgistarter - Start a FastCGI program
fcgistarter -c command -p port [ -i interface ] -N num SUMMARY NOTE Currently only works on Unix systems.
-c command Absolute path of the FastCGI program -p port Port which the program will listen on -i interface Interface which the program will listen on -N num Number of instances of the program Apache HTTP Server 2020-02-08 FCGISTARTER(8)
null
bluetoothd
null
null
null
null
null
slapschema
Slapschema is used to check schema compliance of the contents of a slapd(8) database. It opens the given database determined by the database number or suffix and checks the compliance of its contents with the corresponding schema. Errors are written to standard output or the specified file. Databases configured as su...
slapschema - SLAPD in-database schema checking utility
/usr/sbin/slapschema [-afilter] [-bsuffix] [-c] [-ddebug-level] [-fslapd.conf] [-Fconfdir] [-g] [-HURI] [-lerror-file] [-ndbnum] [-ooption[=value]] [-ssubtree-dn] [-v]
-a_filter Only check entries matching the asserted filter. For example slapschema -a \ "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))" will check all but the "ou=People,dc=example,dc=com" subtree of the "dc=example,dc=com" database. Deprecated; use -H ldap:///???(filter) instead. -b_suffix Use the specified...
To check the schema compliance of your SLAPD database after modifications to the schema, and put any error in a file called errors.ldif, give the command: /usr/sbin/slapcat -l errors.ldif SEE ALSO ldap(3), ldif(5), slapd(8) "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) ACKNOWLEDGEMENTS OpenLDAP ...
kadmin
kadmin and kadmin.local are command-line interfaces to the Kerberos V5 administration system. They provide nearly identical functionalities; the difference is that kadmin.local directly accesses the KDC database, while kadmin performs operations using kadmind(8). Except as explicitly noted otherwise, this man page wi...
kadmin - Kerberos V5 database administration program
kadmin [-O|-N] [-r realm] [-p principal] [-q query] [[-c cache_name]|[-k [-t keytab]]|-n] [-w password] [-s admin_server[:port]] [command args...] kadmin.local [-r realm] [-p principal] [-q query] [-d dbname] [-e enc:salt ...] [-m] [-x db_args] [command args...]
-r realm Use realm as the default database realm. -p principal Use principal to authenticate. Otherwise, kadmin will append /admin to the primary principal name of the default ccache, the value of the USER environment variable, or the username as obtained with getpwuid, in order of preference. -k Use a keytab to d...
null
spray
Spray sends multiple RPC packets to host and records how many of them were correctly received and how long it took. The options are as follows: -c count Send count packets. -d delay Pause delay microseconds between sending each packet. -l length Set the length of the packet that holds the RPC call message to length byt...
spray – send many packets to host
spray [-c count] [-d delay] [-l length] host ...
null
null
cvversions
cvversions will display the revision, build level and creation date for the File System Manager (FSM) and client subsystems of the Xsan File System.
cvversions - Display Xsan client/server versions
cvversions [ -h ] [ -F type ] [[id:]file ...]
-h Print a help/usage message and exit. -F type If type is text, cvversions emits version information in text format (this is the default). If type is json, cvversions emits limited version information in a parsable JSON format. file file is searched for a Xsan version string and, if found, is printed in additio...
null
kextlibs
The kextlibs utility searches for library kexts that define symbols needed for linking by kext, printing their bundle identifiers and versions to stdout. If the kext has a multiple-architecture executable, libraries are resolved for each architecture. If any symbols are not found, or are found in multiple libraries, ...
kextlibs – find OSBundleLibraries needed by a kext
kextlibs [options] [--] kext ... DEPRECATED The kextlibs utility has been deprecated. Please use the kmutil(8) equivalent: kmutil libraries.
-h, -help Print a help message describing each option flag and exit with a success result, regardless of any other options on the command line. -all-symbols Print reports on all symbols that remain undefined, all symbols that have been resolved in one library kext each, and all symbols that have multiple definitions in...
null
tcpdump
Tcpdump prints out a description of the contents of packets on a network interface that match the Boolean expression; the description is preceded by a time stamp, printed, by default, as hours, minutes, seconds, and fractions of a second since midnight. It can also be run with the -w flag, which causes it to save the ...
tcpdump - dump traffic on a network
tcpdump [ -AbdDefhHIJKlLnNOpqStuUvxX# ] [ -B buffer_size ] [ -c count ] [ --count ] [ -C file_size ] [ -E spi@ipaddr algo:secret,... ] [ -F file ] [ -G rotate_seconds ] [ -i interface ] [ --immediate-mode ] [ -j tstamp_type ] [ -k (metadata_arg) ] [ -m module ] [ -M secret ] [ --number ] [ --print ] [ -Q packet-metadat...
-A Print each packet (minus its link level header) in ASCII. Handy for capturing web pages. -b Print the AS number in BGP packets in ASDOT notation rather than ASPLAIN notation. -B buffer_size --buffer-size=buffer_size Set the operating system capture buffer size to buffer_size, in units of KiB (1024 bytes). -...
To print all packets arriving at or departing from sundown: tcpdump host sundown To print traffic between helios and either hot or ace: tcpdump host helios and \( hot or ace \) To print all IP packets between ace and any host except helios: tcpdump ip host ace and not helios To print all traffic between local hosts and...
xartutil
null
null
null
null
null
securityd
securityd maintains security contexts and arbitrates cryptographic operations. Access to keychain items is routed through securityd to enforce access controls and to keep private keys out of user process address space. All user interaction with securityd is mediated through the Security Agent. This command is not int...
securityd – Security context daemon for keychain and cryptographic operations
securityd
null
null
nlcontrol
The NETLOGON channel is a secure connection to a Windows Domain Controller that is used for non-Kerberos user authentication. nlcontrol can be used to manipulate and test the status of the NETLOGON channel.
nlcontrol – NETLOGON secure channel utility
nlcontrol [reconfigure] status [options] status nlcontrol [options] verify nlcontrol [options] change-password
-domain The service will log extensive debug information and may perform extra diagnostic checks. This option is typically only useful for debugging. -help Prints a usage message and exits. -server list The service will listen on each of the TCP ports specified in the comma-separated list. This option is typically ...
null
quotaon
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the specified filesystems should have disk quotas turned off. The filesystem must be mounted and it must have the appropriate mount option file located at its root, the .quota.ops.user ...
quotaon, quotaoff – turn filesystem quotas on and off
quotaon [-g] [-u] [-v] filesystem ... quotaon [-g] [-u] [-v] -a quotaoff [-g] [-u] [-v] filesystem ... quotaoff [-g] [-u] [-v] -a
null
null
spctl
spctl manages the security assessment policy subsystem. This subsystem maintains and evaluates rules that determine whether the system allows the installation, execution, and other operations on files on the system. spctl requires one command option that determines its principal operation: --add Add rule(s) to the s...
spctl – SecAssessment system policy security
spctl --assess [-t type] [-] file ... spctl --global-enable | --global-disable spctl --enable | --disable | --remove [-t type] [--path path] [--requirement requirement] [--anchor hash] [--hash hash] spctl --status
null
To check whether Mail.app is allowed to run on the local system: spctl -a /Applications/Mail.app To allow Frobozz.app to run on the local system: spctl --add --label "My Stuff" /Applications/Frobozz.app To forbid all code obtained from the Mac App Store from running: spctl --disable --label "Mac App Store" DIAGNOSTICS ...
vipw
The vipw utility edits the password file after setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already locked for editing by another user, vipw will ask you to try again later. The default editor for vipw is vi(1). When run without options, ...
vipw – edit the password file
vipw [-d directory]
null
null
gssd
gssd provides kernel access to the Generic Security Services API (GSS- API). There are no configuration options to gssd. Users should not run gssd manually. Mac OS X June 29, 2006 Mac OS X
gssd – Generic Security Services Daemon
gssd
null
null
slaptest
Slaptest is used to check the conformance of the slapd(8) configuration. It opens the slapd.conf(5) configuration file or the slapd-config(5) backend, and parses it according to the general and the backend-specific rules, checking its sanity.
slaptest - Check the suitability of the OpenLDAP slapd configuration
/usr/sbin/slaptest [-d_debug-level] [-f_slapd.conf] [-F_confdir] [-ndbnum] [-o_option[=value]] [-Q] [-u] [-v]
-d_debug-level enable debugging messages as defined by the specified debug-level; see slapd(8) for details. -f_slapd.conf specify an alternative slapd.conf(5) file. -F_confdir specify a config directory. If both -f and -F are specified, the config file will be read and converted to config directory format and written ...
To check a slapd.conf(5) give the command: /usr/sbin/slaptest -f //etc/openldap/slapd.conf -v SEE ALSO ldap(3), slapd(8), slapdn(8) "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) ACKNOWLEDGEMENTS OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. Op...
automount
automount reads the /etc/auto_master file, and any local or network maps it includes, and mounts autofs on the appropriate mount points to cause mounts to be triggered. It will also attempt to unmount any top-level autofs mounts that correspond to maps no longer found.
automount – mount autofs on the appropriate mount points
automount [-v] [-c] [-u] [-t timeout]
-v Print more detailed information about actions taken by automount. -c Tell automountd(8) to flush any cached information it has. -u Unmount all non-busy automounted mounts. Top-level triggers are preserved. -t timeout Set to timeout seconds the time after which an automounted file system will be unmou...
null
scselect
scselect provides access to the system configuration sets, commonly referred to as "locations". When invoked with no arguments, scselect displays the names and associated identifiers for each defined "location" and indicates which is currently active. scselect also allows the user to select or change the active "loca...
scselect – Select system configuration "location"
scselect [-n] [new-location-name]
null
null
graphicssession
graphicssession is used by the Apple Mac OS X base system to initalize graphics contexts. It should not be called directly. Mac OS X February 25, 2011 Mac OS X
graphicssession – graphics session initialization utility
graphicssession
null
null
ckksctl
null
null
null
null
null
lpinfo
lpinfo lists the available devices or drivers known to the CUPS server. The first form (-m) lists the available drivers, while the second form (-v) lists the available devices.
lpinfo - show available devices or drivers (deprecated)
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --device-id device-id-string ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --language locale ] [ --make-and-model name ] [ --product name ] -m lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list...
lpinfo accepts the following options: -E Forces encryption when connecting to the server. -h server[:port] Selects an alternate server. -l Shows a "long" listing of devices or drivers. --device-id device-id-string Specifies the IEEE-1284 device ID to match when listing drivers with the -m option. --exclude-schemes ...
List all devices: lpinfo -v List all drivers: lpinfo -m List drivers matching "HP LaserJet": lpinfo --make-and-model "HP LaserJet" -m NOTES CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using appli...
smbd
smbd runs on a server machine to service SMB protocol requests from SMB client machines.
smbd – SMB server daemon
smbd [options]
-debug The service will log extensive debug information and may perform extra diagnostic checks. In debug mode, smbd will not exit when idle. -help Prints a usage message and exits. -ports list The service will listen on each of the TCP ports specified in the comma-separated list. This option is typically only use...
null
serverinfo
null
null
null
null
null
cvmkfs
cvmkfs will initialize a Xsan volume optionally using volume_name as the name. If no name is supplied, a list of volumes configured will be presented. Active file systems may not be re-initialized. The user will be prompted for a confirmation before initializing the volume. WARNING: This will destroy ANY existing volum...
cvmkfs - Initialize a Xsan Volume
cvmkfs [-GF] [-a key] [-n ninode[k|m|g]] [-r[-e][-m]] [-Q] [-R [date:]time] [-X] [volume_name]
-a key Set the affinity of the root directory to key. -e When remaking a managed file system in preparation for restoring all metadata from a metadata archive, the -e option specifies that the FSM should restore all user file extents. When this option is not specified, files are truncated which results in them bein...
null
postmap
The postmap(1) command creates or queries one or more Postfix lookup tables, or updates an existing one. The input and output file formats are expected to be compatible with: makemap file_type file_name < file_name If the result files do not exist they will be created with the same group and other read permissions as t...
postmap - Postfix lookup table management
postmap [-NbfhimnoprsuUvw] [-c config_dir] [-d key] [-q key] [file_type:]file_name ...
null
null
postdrop
The postdrop(1) command creates a file in the maildrop directory and copies its standard input to the file. Options: -c config_dir The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG environment setting below. -r Use a Postfix-internal pr...
postdrop - Postfix mail posting utility
postdrop [-rv] [-c config_dir]
null
null
cupsenable
cupsenable starts the named printers or classes while cupsdisable stops the named printers or classes.
cupsdisable, cupsenable - stop/start printers and classes
cupsdisable [ -E ] [ -U username ] [ -c ] [ -h server[:port] ] [ -r reason ] [ --hold ] destination(s) cupsenable [ -E ] [ -U username ] [ -c ] [ -h server[:port] ] [ --release ] destination(s)
The following options may be used: -E Forces encryption of the connection to the server. -U username Uses the specified username when connecting to the server. -c Cancels all jobs on the named destination. -h server[:port] Uses the specified server and port. --hold Holds remaining jobs on the named printer. Useful ...
null