GPGME

Neil Williams linux at codehelp.co.uk
Sat Dec 6 15:33:06 CET 2003


On Saturday 06 Dec 2003 7:49 am, Seetharamakrishnan wrote:
> Dear Users
>
> Unix Platform:
> When I run "t-encrypt" sample program from command line, it works fine. But

It's being run as a user and has access to user configuration files.

Try running the script exactly as given to init - you'd run it as an ordinary 
user, so if it works, it's the /home/ configuration that it's losing.

> when i put the same program in /etc/inittab, it gives error "GPGME-No

Which user is running init? If it's root, root will need user configuration - 
perhaps not the best solution!

> Recipient". Can anyone throw light on this ? Has it got to do with ENV ?

Can't you pass the recipient on the command line?
-r

(What are you doing that uses automated encryption in init anyways? Sounds a 
tad like you might be reinventing the wheel.)

-- 

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : /pipermail/attachments/20031206/ddf58f3d/attachment.bin


More information about the Gnupg-users mailing list