---
name: "sbuild-adduser"
section: "8"
platform: "linux"
package: "sbuild"
version: "0.89.3+deb13u4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sbuild-adduser"
---

# sbuild-adduser(8)

add an sbuild user

## NAME

sbuild-adduser - add an sbuild user

## SYNOPSIS

**sbuild-adduser** \[**-h**\|**--help** \| **-V**\|**--version**\] **USER1** \[**USER2** \[**USER***n***...**\]\]

## DESCRIPTION

Note that this tool is only useful for the schroot backend. Debian buildds have switched to the unshare backend in 2024.

**sbuild-adduser** adds the specified users to the *sbuild* group, granting them the privilege to build packages with [**sbuild**(1)](/sbuild/1.md). The [**schroot**(1)](/schroot/1.md) configuration must permit the user to obtain root permissions in the chroot via the *root-users* and *root-groups* options in *schroot.conf*, because this is required to install and remove build-dependencies inside the chroot.  This is normally done using the *sbuild* group, but additional users or groups may be added in order to grant finer-grained permissions, for example to restrict individual users to particular chroots.

## OPTIONS

### Actions

- **-h**, **--help**

  Display this manual.

- **-V**, **--version**

  Print version information.

### User selection

- **USER**

  The user to be granted sbuild access.

## EXAMPLES

To allow user *rleigh* sbuild access:

`% `**sudo sbuild-adduser rleigh**\

## AUTHORS

```
Roger Leigh.
```

## COPYRIGHT

```
Copyright © 2006–2008 Roger Leigh <rleigh@debian.org>.
```

## SEE ALSO

[**sbuild**(1)](/sbuild/1.md), [**sbuild-setup**(7)](/sbuild-setup/7.md), [**schroot.conf**(5)](/schroot.conf/5.md).
