Previous Topic: SPECIALPGM ClassNext Topic: SURROGATE Class


SUDO Class

Each record in the SUDO class identifies a command for which a user can borrow permissions from another user using the sesudo command.

The key of the SUDO class record is the name of the SUDO record. This name is used instead of the command name when a user executes the commands in the SUDO record.

Note: If you create a SUDO record for an interactive Windows application, you must set the interactive flag for the SUDO record. If you do not set the interactive flag, the application runs in the background and you cannot interact with it. For more information, see the Troubleshooting Guide.

The following definitions describe the properties contained in this class record. Most properties are modifiable and can be manipulated using selang or the administration interfaces. Non-modifiable properties are marked informational.

ACL

Defines a list of accessors (users and groups) permitted to access the resource, and the accessors' access types.

Each element in the access control list (ACL) contains the following information:

Accessor

Defines an accessor.

Access

Defines the access authority that the accessor has to the resource.

Use the access parameter with the authorize or authorize- command to modify the ACL.

CALACL

Defines a list of the accessors (users and groups) that are permitted to access the resource, and their access types according to the Unicenter NSM calendar status.

Each element in the calendar access control list (CALACL) contains the following information:

Accessor

Defines an accessor.

Calendar

Defines a reference to a calendar in Unicenter TNG.

Access

Defines the access authority that the accessor has to the resource.

Access is permitted only when the calendar is ON. Access is denied in all other cases.

Use the calendar parameter with the authorize command to permit user or group access to the resource according to the access defined in the calendar ACL.

CALENDAR

Represents a Unicenter TNG calendar object for user, group, and resource restrictions in CA ControlMinder. CA ControlMinder fetches Unicenter TNG active calendars at specified time intervals.

CATEGORY

Defines one or more security categories assigned to a user or a resource.

COMMENT

The command that sesudo executes.

The alphanumeric string can contain up to 255 characters, which include the command and also permitted and prohibited parameters.

For example, the following profile definition uses the COMMENT property properly:

newres SUDO profile_name comment('command;;NAME')

Note: This use of the COMMENT property is different than in other classes. For more information about defining SUDO records, see the Endpoint Administration Guide for your OS. This property was also known as DATA in earlier versions of CA ControlMinder.

Limit: 255 characters.

Use the comment[-] parameter with the chres, editres, and newres commands to modify this property.

CREATE_TIME

(Informational) Displays the date and time when the record was created.

DAYTIME

Defines the day and time restrictions that govern when an accessor can access a resource.

Use the restrictions parameter with the chres, ch[x]usr, or ch[x]grp commands to modify this property.

The resolution of daytime restrictions is one minute.

GROUPS

The list of GSUDO or CONTAINER records a resource record belongs to.

To modify this property in a SUDO class record, you must change the MEMBERS property in the appropriate CONTAINER or GSUDO record.

Use the mem+ or mem‑ parameter with the chres, editres or newres command to modify this property.

INTERACTIVE

(Windows only). This switch should be marked when the application you intend to run via sesudo is an interactive Windows application (for example, notepad.exe or cmd.exe) and not a service application. If you are trying to run an interactive application using sesudo that is not marked as interactive, the application runs in the background without the ability to interact with it.

Note: Some Windows applications can not run in the foreground because of a Windows limitation.

NACL

The NACL property of a resource is an access control list that defines the accessors that are denied authorization to a resource, together with the type of access that they are denied (for example, write). See also ACL, CALACL, PACL. Each entry in the NACL contains the following information:

Accessor

Defines an accessor.

Access

Defines the type of access that is denied to the accessor.

Use the authorize deniedaccess command, or the authorize- deniedaccess- command, to modify this property.

NOTIFY

Defines the user to be notified when a resource or user generates an audit event. CA ControlMinder can email the audit record to the specified user.

Limit: 30 characters.

OWNER

Defines the user or group that owns the record.

PACL

Defines a list of accessors that are permitted to access the resource when the access request is made by a specific program (or a program that matches a name-pattern) and their access types. Each element in the program access control list (PACL) contains the following information:

Accessor

Defines an accessor.

Program

Defines a reference to a record in the PROGRAM class, either specifically or by wildcard pattern matching.

Access

Defines the access authority that the accessor has to the resource.

Note: You can use wildcard characters to specify the resource in a PACL.

Use the via(pgm) parameter with the selang authorize command to add programs, accessors, and their access types to a PACL, You can use the authorize- command to remove accessors from a PACL.

PASSWORDREQ

(UNIX only) Indicates whether the sesudo command requests the original user's password before executing.

Use the password parameter with the chres, editres, or newres command to modify this property.

POLICYMODEL

Specifies the PMDB that receives new passwords when you change user passwords with the sepass utility. The passwords are not sent to the Policy Model defined by the parent_pmd or passwd_pmd configuration settings if a value is entered for this property.

Note: This property corresponds to the pmdb[-] parameter of the ch[x]usr and ch[x]grp commands.

SECLABEL

Defines the security label of a user or resource.

Note: The SECLABEL property corresponds to the label[-] parameter of the chres and ch[x]usr commands.

SECLEVEL

Defines the security level of an accessor or resource.

Note: This property corresponds to the level[-] parameter of the ch[x]usr and chres commands.

TARGUSR

(UNIX only) Indicates the target uid, which identifies the user whose permissions are to be borrowed for executing the command. The default is root.

Use the targuid parameter with the chres, editres, or newres command to modify this property.

UACC

Defines the default access authority for the resource, which indicates the access granted to accessors who are not defined to CA ControlMinder or who do not appear in the ACL of the resource.

Use the defaccess parameter with the chres, editres, or newres command to modify this property.

UPDATE_TIME

(Informational) Displays the date and time when the record was last modified.

UPDATE_WHO

(Informational) Displays the administrator who performed the update.

WARNING

Specifies whether Warning mode is enabled. When Warning mode is enabled on a resource, all access requests to the resource are granted, and if an access request violates an access rule, a record is written to the audit log.

More information:

Task Delegation Hangs for Interactive Application