---
name: "lb_testroot"
section: "1"
platform: "linux"
package: "live-build"
version: "3.0.5-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/lb_testroot"
---

# lb\_testroot(1)

Ensure that a system is built as root

## NAME

**lb testroot** - Ensure that a system is built as root

## SYNOPSIS

**lb testroot** \[*live-build options*\]

## DESCRIPTION

**lb testroot** is a high-level command (porcelain) of [*live-build*(7)](/live-build/7.md), the Debian Live tool suite.

**lb testroot** simply checks to see if you are root. If not, it exits with an error. Debian Live images must currently be built as real root.

Note: Support for using [*fakeroot*(1)](/fakeroot/1.md) and [*sudo*(8)](/sudo/8.md) internally in live-build itself is still experimental, however, calling a helper yourself with sudo is safe.

## OPTIONS

**lb testroot** has no specific options but understands all generic live-build options. See [*live-build*(7)](/live-build/7.md) for a complete list of all generic live-build options.

## FILES

- **none**

  ## SEE ALSO

[*live-build*(7)](/live-build/7.md)

This program is a part of live-build.

## HOMEPAGE

More information about live-build and the Debian Live project can be found on the homepage at \<*http://live.debian.net/*\> and in the manual at \<*http://live.debian.net/manual/*\>.

## BUGS

Bugs can be reported by submitting a bugreport for the live-build package in the Debian Bug Tracking System at \<*http://bugs.debian.org/*\> or by writing a mail to the Debian Live mailing list at \<*debian-live@lists.debian.org*\>.

## AUTHOR

live-build was written by Daniel Baumann \<*daniel@debian.org*\> for the Debian project.
