Show Table of Contents
4.3. Checking Permissions from Scripts
The
pkcheck utility, which checks whether a process is authorized for action, now supports a new format for parameters specified by the --process option. This makes running pkcheck safer by avoiding a race condition. The new format looks as follows: $pkcheck --process pid,start-time,uid
Important
Do not use the bare
pid or pid,start-time formats for the --process option. All scripts that invoke pkcheck need to use the new format pid,start-time,uid to avoid a race condition.
For more information, see the
pkcheck(1) man page.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.