From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:57:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CC2216A400 for ; Fri, 9 Mar 2007 12:57:20 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 3955A13C494 for ; Fri, 9 Mar 2007 12:57:20 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so767912wxc for ; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Received: by 10.70.39.11 with SMTP id m11mr2879418wxm.1173445039752; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id h37sm4571219wxd.2007.03.09.04.57.19; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Date: Fri, 09 Mar 2007 07:57:36 -0500 To: FreeBSD Question Organization: Seibercom.net In-Reply-To: <200703082119.28781.jvender@owensboro.net> References: <200703082119.28781.jvender@owensboro.net> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070309075522.987C.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.03 [en] From: Gerard Cc: Joe Vender Subject: Re: Using gpg-agent on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:57:20 -0000 On Thursday March 08, 2007 at 10:19:27 (PM) Joe Vender wrote: > I'm using FreeBSD 6.2 > > I've been tinkering with using gpg-agent for GnuPG passphrase caching when > using Kmail. I have been able to get it working as per the instructions at > http://freebsd.kde.org/howtos/gnupg-kmail.php > for starting the daemon when entering KDE. But, I want to start gpg-agent when > the sytem starts and I login to console mode (not just when I enter KDE), and > I want Kmail to use the agent for GnuPG usage. Could someone please describe > to me the details of the steps that I need to take and the file modifications > that I need to make for this to work. > > Again, I want the gpg-agent to be up and running when I login to the console, > also when I log into KDE, I want Kmail to use the agent. The way I log into > KDE is to first login to the console via a limited user account, then do sudo > kdm and log into KDE using the same limited user account. I have root login > disabled for both console and KDE. I've read the instructions for using a > ~/.xinitrc or ~/.xsession to start the gpg-agent daemon when logging into > kde, but I have neither file in my home directory, and anyway want the daemon > running upon entering console mode login, i.e., running always and only one > gpg-agent process running at any given time. Please CC my email address with > any responses. Thanks very much for suggestions. FreeBSD rocks! Read 'man gpg-agent'. It has a script that may very well be exactly what you want. -- Gerard