gpg --list-sigs (root for other users)

darren chamberlain dlc at
Wed Mar 3 11:28:59 CET 2004

* Albert <gnupg at> [2004/03/02 17:14]:
> How can root list or export the keys of 1 or better all user(s) on a 
> machine without su?

If you're already root:

  # gpg --no-default-keyring \
  >     --keyring /some/user/.gnupg/public.gpg \
  >     --export KEYID

You'd just need to be able to read the user's keyring file.  (This is a
good reason to not keep your keyrings on a box you don't control, BTW.)
If you're not root, and have no way to become root, then you're probably
out of luck, barring permissions problems on the keyrings.


Democracy is the art and science of running the circus from the monkey
    -- H. L. Mencken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20040303/2996b52d/attachment.bin

More information about the Gnupg-users mailing list