gpg --list-sigs (root for other users)
Albert
gnupg at ml0402.albert.uni.cc
Wed Mar 3 22:41:08 CET 2004
Am Mittwoch, 3. März 2004 18:44 schrieb Werner Koch:
> On Tue, 2 Mar 2004 17:14:10 +0100, Albert said:
> > How can root list or export the keys of 1 or better all user(s)
> > on a machine without su?
>
> What about:
>
> for i in `awk -F: '{print $6}' /etc/passwd`; do
> echo "*** keys in $i ****"
> gpg --homedir $i/.gnupg --list-keys
> done
>
> or
>
> for i in `getent passwd | awk -F: '{print $6}'`; do
> echo "*** keys in $i ****"
> gpg --homedir $i/.gnupg --list-keys
> done
Werner thanks,
thanks for your thoughts. I have to modify it for my needs to
exclude systemusers, a.s.o.
If root uses gpg with a user homdir I get "unsafe ownership on
homedir". Can this be ignored?
Albert
More information about the Gnupg-users
mailing list