From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 03:21:01 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 0CC6B16A402 for ; Fri, 9 Mar 2007 03:21:01 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from zoot.cinergycom.net (zoot.cinergycom.net [216.135.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id DFA7B13C481 for ; Fri, 9 Mar 2007 03:21:00 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from kntpin04-nas-03-s453.cinergycom.net ([216.135.27.199]) by zoot.cinergycom.net with esmtpa (Exim 4.52) id 1HPVf9-0000VI-E8 for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 21:21:00 -0600 From: Joe Vender To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 21:19:27 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703082119.28781.jvender@owensboro.net> X-CCC-Authenticated: jvender@owensboro.net zoot.cinergycom.net 216.135.27.199 20070309032100Z 379a725c0d9b4e9ae8c6ba32f3967a11 X-CCC-Cleanmail-Virus-Signature: 823c0b45f82badd57bc0bae75a2fd195 Subject: Using gpg-agent on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 03:21:01 -0000 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! Joe Vender