bkgd

Run Version

runbkgd

This run variable does not apply to pbssh. If it is present in the policy, it does not have any effect on pbssh and is ignored.

Data Type

Boolean. bkgd is read-only. runbkgd is modifiable.

Description

The bkgd and runbkgd variables indicate whether to run a task in the background with HUP signals ignored. Endpoint Privilege Management for Unix and Linux sets both variables when the user executes pbrun with a -b switch. To change whether a task actually runs in the background with HUP signals ignored, set the runbkgd variable.

In this context, the function name inside the function behaves like a function parameter.

When its parent process terminates, HUP refers to the hangup signal that is sent to a child process by the operating system. If the child process was set to ignore HUP signals, the child process continues to run even though its parent process was terminated.

This feature can be useful for applications running in the background.

Syntax

runbkgd = boolean;

Valid Values

true Ignore HUP signals.
false Do not ignore HUP signals.

bkgd is read-only and defaults to true when pbrun –b is used. Otherwise, it defaults to false. runbkgd defaults to the value of bkgd.

runbkgd = true;