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

Neil Williams linux at codehelp.co.uk
Wed Mar 3 16:13:22 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- -- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARgQiiAEJSii8s+MRAmtDAKDzJNj5kRkiuHhZvYUaqcNL3JAFGwCcCV4n
SmLSSlzU0on/C004yLm1oOE=
=Dsxf
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list