CHECKNOTROOT(8)

NAME
checknotroot - refuse to run as UID 0

SYNOPSIS
checknotroot prog

DESCRIPTION
checknotroot ensures that another command can never be run as UID 0. checknotroot is most commonly placed after checkpassword and before its remaining arguments to ensure that if someone guesses the root password, they won't know they did.

EXIT CODES
If run by UID 0, checknotroot exits 1. Otherwise it exits with the same code as prog.

EXAMPLES
See https://schmonz.com/qmail/acceptutils.

AUTHOR
Amitai Schleier <schmonz-web-acceptutils@schmonz.com>

SEE ALSO
checkpassword(8), authup(8), fixsmtpio(8).