check-foreground-console1
A tool to check if the current console is owned by the calling user
Usage
check-foreground-console
Overview
check-foreground-console exits successfully if the current user has the foreground console.
The pam_foreground module must be enabled for check-foreground-console to work properly.
Usage
check-foreground-console
Options
check-foreground-console accepts no options or parameters.