aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-06 13:32:43 +0000
committerWerner Koch <[email protected]>2020-08-06 14:03:57 +0000
commitd10f45184c4482036c41f4818c84c0725a0c2c94 (patch)
tree624c61c1c93bd90a1d7c785d794cb47cccef8ee6 /doc/tools.texi
parentcommon: New helper function gnupg_chuid. (diff)
downloadgnupg-d10f45184c4482036c41f4818c84c0725a0c2c94.tar.gz
gnupg-d10f45184c4482036c41f4818c84c0725a0c2c94.zip
gpgconf: New option --chuid.
* tools/gpgconf.c (oChUid, opts): New option --chuid. (main): Implement. -- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index 537c3c72a..3ebec1a98 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -415,6 +415,16 @@ Try to be as quiet as possible.
@include opt-homedir.texi
+@item --chuid @var{uid}
+@opindex chuid
+Change the current user to @var{uid} which may either be a number or a
+name. This can be used from the root account to get information on
+the GnuPG environment of the specified user or to start or kill
+daemons. If @var{uid} is not the current UID a standard PATH is set
+and the envvar GNUPGHOME is unset. To override the latter the option
+@option{--homedir} can be used. This option has currently no effect
+on Windows.
+
@item -n
@itemx --dry-run
Do not actually change anything. This is currently only implemented