---
name: "check-foreground-console"
section: "1"
platform: "linux"
package: "libpam-foreground"
version: "0.5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/check-foreground-console"
---

# check-foreground-console(1)

A tool to check if the current console is owned by the calling user

## NAME

check-foreground-console - A tool to check if the current console is owned  by the calling user

## SYNOPSIS

**check-foreground-console**

## DESCRIPTION

**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.

## AUTHOR

check-foreground-console was written by Daniel Silverstone \<daniel.silverstone@ubuntu.com\>.

This manual page was written by Barry deFreese \<bddebian@comcast.net\>, for the Debian project (but may be used by others).
