Join our Newsletter — 33% off our NHI Course

lpadmin

lpadmin is a command-line utility for creating, modifying and deleting printer queues on Unix-like systems. Administrators use it to set the printer driver, device URI, default options and sharing settings, so running it requires administrative privilege on the host.

What lpadmin does in Unix-like printer administration

lpadmin is the administrative interface for printer queues, so its purpose is not printing itself but managing how a host defines, edits, and removes printer destinations. That makes it part of system configuration and host administration rather than end-user print usage.

Because it changes queue state centrally, the command can affect every user and service that relies on the print subsystem. A small syntax error or an unintended queue update can redirect jobs, change defaults, or break printing across a shared environment.

Why administrative privilege matters

The key security property of lpadmin is that it requires elevated privilege. That is appropriate, because the command can alter printer drivers, device URIs, default options, and sharing settings, all of which influence how the host trusts and routes print traffic.

In practical terms, the privilege boundary matters because printer configuration can be abused as a persistence or diversion point. A malicious or careless change may expose a printer to the network, route jobs to the wrong device, or modify a queue in a way that affects confidentiality and availability.

How printer queue changes affect operations

Printer queues are shared infrastructure objects, so lpadmin changes often have wider operational impact than their command-line form suggests. The command is commonly used during onboarding, replacement, or repair of printers, but those same actions can also remove dependencies that users still expect to exist.

When queues are standardized across many hosts, the command becomes a configuration-control mechanism. That means the real question is not only whether the command succeeds, but whether the resulting queue definition matches the intended device, options, and exposure profile.

What to verify after changing a queue

After using lpadmin, the important checks are simple: confirm the queue name, driver choice, device URI, default options, and sharing state are exactly what was intended. Where printing matters to business processes, validation should also include a test job and confirmation that the printer appears only where it should.

Administrators should also treat queue edits as configuration changes that deserve review, because print settings can be silently carried forward for a long time. A queue that looks harmless in a shell history can still create an access, routing, or service-availability issue later if it was configured incorrectly.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 CM-2 — Baseline Configuration lpadmin changes host printer configuration and queue state.
AC-6 — Least Privilege lpadmin requires administrative privilege to alter print queues.
Recommendation — Document approved printer queue settings and review changes before deployment. Restrict lpadmin use to authorized administrators and limit elevation to approved tasks.
CIS Controls v8 CIS-4 — Secure Configuration of Enterprise Assets and Software Printer queues are configuration-managed assets that can affect host behavior.
CIS-6 — Access Control Management Administrative access governs who can modify printer queues and sharing settings.
Recommendation — Establish and maintain secure printer configuration baselines for managed systems. Limit printer administration rights to trusted operators and remove unnecessary access paths.