user

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Format

user = "uid" | ":gid" | "uid:gid"

Description

The user keyword assigns a user ID (uid), group ID (gid), or both to the underlying process.

The group ID is expected to be the primary group ID for the underlying process. To assign supplementary group IDs to the process executed by the task, use the groups keyword.

The valid range is 0 to INT_MAX (2147483647).

Examples

user = "101:1" 

Default

The system default is that the child process inherits its parent's uid and gid. PLMS's uid and gid are inherited by the child process.

Multiplicity

Zero or one instance in a task block.

Constraints

  • Username and group name are not accepted.

  • The parser verifies the IDs are in the range 0 to INT_MAX (2147483647).

  • The value of user is evaluated during component runtime.

  • At least one of uid or gid must be specified.

  • If user is specified in a task, then the task must have one of the exec*() functions so that user is used at run time.

Page updated: