import key to spefic keyring

CL Gilbert Lamont_Gilbert@RigidSoftware.com
Fri Jun 20 16:09:02 2003


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

Henning Sittler wrote:
| Hi all, bit of a newbie here with gpg.
|
| I have imported a public key onto the root user keyring (because I was
| logged in a root) using the basic:
|
| gpg --import < samson.asc
|
| But I would like to specifically import the same keyring for user apache,
| who of course, does not have a usera ccount that I can log in to.  Like I
| said, I am a bit of a newbie here.  I'm guess I'm trying to do something
| like:
|
| gpg -u apache --import < samson.asc

gpg --home-dir /home/apache --import < samson.asc

This should work, but I am not sure how the permissions are set for user
apache.

|
| So that the public is added to apache's keyring, and not root's.  Then I
| want to specify trust for that public key on apache's keyring, again from
| root's login.
|

same thing, as long as you use the --home-dir option, you should be
working on the keyring for that user.  AFAIK.



| I am doing this so that a php script can call gpg through with user apache
| permissions.  Thanks in adance for any help you an offer!
|
|
| Henning Sittler
| www.inscriber.com
|
|
| _______________________________________________
| Gnupg-users mailing list
| Gnupg-users@gnupg.org
| http://lists.gnupg.org/mailman/listinfo/gnupg-users
|


- --
Thank you,


CL Gilbert
Free Java interface to Freechess.org
http://www.rigidsoftware.com/Chess/chess.html
"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD  19AE 55B2 4CD7 80D2 0A2D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+8xUyVbJM14DSCi0RAhWfAJ9i307RYKWRLayQnNVN/FQqjMTjvQCdFlKV
6kr92oxa+A1MMG4bZH5LzgY=
=8okj
-----END PGP SIGNATURE-----