- reference manual online
Run gpgconf --apply-defaults for all users.
APPLYGNUPGDEFAULTS(8) GNU Privacy Guard 2.1 APPLYGNUPGDEFAULTS(8)
NAME applygnupgdefaults - Run gpgconf --apply-defaults for all users. SYNOPSIS applygnupgdefaults DESCRIPTION This script is a wrapper around gpgconf to run it with the command --apply-defaults for all real users with an existing GnuPG home directory. Admins might want to use this script to update he GnuPG configuration files for all users after ‘/etc/gnupg/gpg‐ conf.conf’ has been changed. This allows to enforce certain policies for all users. Note, that this is not a bulletproof of forcing a user to use certain options. A user may always directly edit the configuration files and bypass gpgconf. applygnupgdefaults is invoked by root as: applygnupgdefaultsGnuPG 2.1.11 2016-01-21 APPLYGNUPGDEFAULTS(8)