Using GnuPG when switching users

Bernhard Reiter bernhard at intevation.de
Wed Jan 31 10:30:03 CET 2018


Am Montag 29 Januar 2018 03:44:56 schrieb Dan Horne:
> I'm trying to generate keys  from a user I have su'd to, but I get the
> following error:
>
> gpg-agent[23024]: command get_passphrase failed: Permission denied

Maybe you can work around the problem in a different way.
Ideas:
* Login as the user, e.g. try ssh.
* Use no passphrase
* Use a pinentry that uses X11
* temporarility change ownership of the tty

(As you can see, I'm a bit guessing widely, but maybe there is a hint in there 
for you.)

Bernhard


-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180131/3d1151ab/attachment.sig>


More information about the Gnupg-users mailing list