ADDGNUPGHOME(8) GNU Privacy Guard 2.4 ADDGNUPGHOME(8)

# [NAME](#NAME)

**addgnupghome** - Create .gnupg home directories

# [SYNOPSIS](#SYNOPSIS)

**addgnupghome** *account\_1* *account\_2*...*account\_n*

# [DESCRIPTION](#DESCRIPTION)

If GnuPG is installed on a system with existing user accounts, it is sometimes required to populate the GnuPG home directory with existing files. Especially a ‘*trustlist.txt*’ and a keybox with some initial certificates are often desired. This script helps to do this by copying all files from ‘*/etc/skel/.gnupg*’ to the home directories of the accounts given on the command line. It takes care not to overwrite existing GnuPG home directories.

**addgnupghome** is invoked by root as:

```
addgnupghome account1 account2 ... accountn
```

2025-12-30 GnuPG 2.4.9

---

Document: addgnupghome(8) from gnupg 2.4.9-r11 (Chainguard OS)
Source: https://github.com/gpg/gnupg
