gpg --list-sigs (root for other users)
linux at codehelp.co.uk
Wed Mar 3 16:13:22 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 02 March 2004 4:14 pm, Albert wrote:
> How can root list or export the keys of 1 or better all user(s) on a
> machine without su?
Why would you want to?
GnuPG will justifiably warn you about permissions on the user's folder.
However, you can just user --homedir
# gnupg --homedir /home/someuser/.gnupg --list-keys
A worthy reminder that no-one should keep a secret key on ANY box where the
owner of that secret key does not have root permissions on the box.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Gnupg-users