# Standard Configuration

This document describes the standard configuration for this CUPS server.

> Note:

> This file reflects the standard CUPS configuration as distributed by Apple Inc, the developer of CUPS.

## cupsd Configuration

`cupsd(8)` is configured by default to show printers shared by other systems and only allow local access to the system and its printers. Administration operations require Basic authentication with membership in the group "lp".

Connections are accepted via domain socket (/var/run/cups/cups.sock) or "localhost" (127.0.0.1).

### Settings

Table 1: Default Values
Directive | Value
--- | ---
`Browsing` | `Yes`
`BrowseLocalProtocols` | `dnssd`
`BrowseRemoteProtocols` | `@CUPS_BROWSE_REMOTE_PROTOCOLS@`
`BrowseShortNames` | `@CUPS_BROWSE_SHORT_NAMES@`
`ConfigFilePerm` | `640`
`DefaultShared` | `Yes`
`ImplicitClasses` | `@CUPS_IMPLICIT_CLASSES@`
`LogFilePerm` | `644`
`MaxCopies` | `9999`
`UseNetworkDefault` | `@CUPS_USE_NETWORK_DEFAULT@`

## Directories

Table 2: Directories
Directory | Purpose
--- | ---
/etc/cups | The location of configuration files such as printers.conf. Overridden by the `ServerRoot` directive in cupsd.conf.
/usr/bin | The location of user programs.
/usr/include | The location of CUPS include files.
/usr/lib | The location of CUPS library files.
/usr/lib/cups | The location of server programs such as backends and filters. Overridden by the `ServerBin` directive in cupsd.conf.
/usr/sbin | The location of administrator programs.
/usr/share/cups | The location of data files such as fonts. Overridden by the `DataDir` directive in cupsd.conf.
/usr/share/doc/cups | The location of documentation files. Overridden by the `DocumentRoot` directive in cupsd.conf.
/usr/share/locale | The location of localization files.
/var/cache/cups | The location of cache files such as ppds.dat and remote.cache. Overridden by the `CacheDir` directive in cupsd.conf.
/var/log/cups | The location of the access_log, error_log, and page_log files. Overridden by the `AccessLog`, `ErrorLog`, `PageLog`, directive in cupsd.conf.
/var/run/cups | The location of the domain socket file and state data such as authentication certificates. Overridden by the `StateDir` directive in cupsd.conf.
/var/spool/cups | The location of spooled print jobs. Overridden by the `RequestRoot` directive in cupsd.conf.