Layer: services

Module: lpd

Interfaces Templates

Description:

Line printer daemon

Interfaces:

lpd_domtrans_checkpc( domain )
Summary

Execute lpd in the lpd domain.

Parameters
Parameter:Description:Optional:
domain

Domain allowed access.

No
lpd_list_spool( domain )
Summary

List the contents of the printer spool directories.

Parameters
Parameter:Description:Optional:
domain

Domain allowed access.

No
lpd_manage_spool( domain )
Summary

Create, read, write, and delete printer spool files.

Parameters
Parameter:Description:Optional:
domain

Domain allowed access.

No
lpd_read_config( domain )
Summary

List the contents of the printer spool directories.

Parameters
Parameter:Description:Optional:
domain

Domain allowed access.

No
lpd_run_checkpc( domain , role , terminal )
Summary

Execute amrecover in the lpd domain, and allow the specified role the lpd domain.

Parameters
Parameter:Description:Optional:
domain

Domain allowed access.

No
role

The role to be allowed the lpd domain.

No
terminal

The type of the terminal allow the lpd domain to use.

No
Return

Templates:

lpd_per_userdomain_template( userdomain_prefix , user_domain , user_role )
Summary

The per user domain template for the lpd module.

Description

This template creates a derived domains which are used for lpr printing client.

This template is invoked automatically for each user, and generally does not need to be invoked directly by policy writers.

Parameters
Parameter:Description:Optional:
userdomain_prefix

The prefix of the user domain (e.g., user is the prefix for user_t).

No
user_domain

The type of the user domain.

No
user_role

The role associated with the user domain.

No
lpr_admin_template( userdomain_prefix )
Summary

The administrative functions template for the lpd module.

Description

This template creates rules for administrating the ldp service, allowing the specified user to manage lpr files.

Parameters
Parameter:Description:Optional:
userdomain_prefix

The prefix of the user domain (e.g., user is the prefix for user_t).

No
Return