Override Document Owner

EasySpooler sets document ownership to the user who submits the document through the Web UI or the command line with llp. In directory monitoring with the llpd.config file, EasySpooler sets document ownership to the user who runs the llpd monitoring program, usually an administrative user. For more information, see the section on llpd in Chapter 2 of the ROC EasySpooler Developer’s Guide. For more information on setting the user and priority for documents received from external hosts see, Document_Ownership_with_External_Hosts below.

If you want to change the document owner (user), you can set the user in various ways as described in the list below. If you want to change the ownership for all existing documents for a given user, the EasySpooler administrative user can change the ownership, see Bulk Change Document Ownership.

 

If the user is set in more than one of these ways, EasySpooler gives priority in the order listed below.

  1. You can set the user by using the environment variable LPOVERRIDE. LPOVERRIDE allows you to set options for llp that take precedence over the same options if set on the llp command line, with the llpd.config file, or in an alias definition.  For more information on LPOVERRIDE, see the section on LPOVERRIDE in Chapter 4 of the ROC EasySpooler Developer's Guide.

  1. You can set the user in the command line using the -u user_name option with llp or llpd, or in an alias definition. See the sections on llp and llpd in Chapter 2 and lpsalias in Chapter 3 of the ROC EasySpooler Developer's Guide.

NOTE: You must be root, an administrative user, or have the SetDocOwnwer capability for this function to take effect. If you do not meet any of these requirements, the document is spooled, but EasySpooler ignores the user name you entered.

  1. You can set the user through mapping, which offers you the option of setting the user in the user, group, or default mapping definition. See Security: Mapping.  

  1. You can set the user with the environment variable LPOPTION using the -u user_name option with llp or llpd. See the section on LPOPTION in Chapter 4 of the ROC EasySpooler Developer’s Guide.  

  2. You can set the user by using the environment variable LPS_USER to set the value of the user field in the queue record when a spool file is created. See the section on LPS_USER in Chapter 4 of the ROC EasySpooler Developer’s Guide.

 

Document Ownership with External Hosts

The ways for setting the user and their priority varies for documents received from external hosts.

NOTE: See Chapter 4, Environment Variables, in the ROC EasySpooler Developer’s Guide for information on setting an environment variable so that it affects document ownership for a document received from an external host.

The priority if receiving a document from a trusted hosta when the document was submitted through a remote Rhapsody or EasySpooler destination is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. User, group, or default mapping definition

  4. Value from the incoming queue record  

 

The priority if receiving a document from a trusted non-Rhapsody or non-EasySpooler host when the document was submitted through lpr is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. User, group, or default mapping definition

  4. User specified in the lpr control record.

  5. LPOPTION environment variable with the -u user_name option

  6. EasySpooler administrator

NOTE: If not set in any of the ways listed above, EasySpooler assigns the EasySpooler administrator as the user and puts the document on hold.

 

The priority if receiving a document from a trusted host when the document was submitted through the ROC Printer Monitor is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. User name entered on the Printer Monitor window when submitting a document.

NOTE: The user must have the SetDocOwner capability for the user name entry to take effect.

  1. User, group, or default mapping definition

  2. LPOPTION environment variable with the -u user_name option

  3. LPS_User environment variable

  4. User who submitted the document through the Printer Monitor

 

The priority if receiving a document from an untrusted Rhapsody or EasySpooler host when the document was submitted through a remote destination is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. Remote mapping definition

NOTE: If the remote mapping definition specifies a user, that value is used. If the Accept box is checked for the user field, the value in the incoming queue record is used.

  1. LPOPTION environment variable with the -u user_name option

  2. EasySpooler administrator

NOTE: If not set in any of the ways listed above, EasySpooler assigns the EasySpooler administrator as the user and puts the document on hold.

 

The priority if receiving a document from an untrusted non-Rhapsody or non-EasySpooler host when the document was submitted through lpr is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. Remote mapping definition

NOTE: If the remote mapping definition specifies a user, that value is used. If the Accept box is checked for the user, the user name for the lpr control record is used if it exists.

  1. LPOPTION environment variable with the -u user_name option

  2. EasySpooler administrator

NOTE: If the control record does not specify a user, EasySpooler assigns the EasySpooler administrator as the user and puts the document on hold.

 

The priority if receiving a document from an untrusted host when the document was submitted through the Printer Monitor is as follows:

  1. LPOVERRIDE environment variable with the -u user_name option

  2. Alias definition with the -u user_name option (only if spooling to an alias)

  3. Remote mapping

NOTE: If the remote mapping definition specifies a user, that value is used. If the Accept box is checked, the user name from the Printer Monitor is used.

  1. LPOPTION environment variable with the -u user_name option

  2. LPS_User environment variable

  3. EasySpooler administrator

NOTE: If not set in any of the ways listed above, EasySpooler assigns the EasySpooler administrator as the user and puts the document on hold

_______________________________

a. For information on trusted and untrusted hosts, see Files that Identify EasySpooler Hosts.