From owner-freebsd-questions@freebsd.org Sat May 20 20:56:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D6DED76DC4 for ; Sat, 20 May 2017 20:56:45 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp2.bway.net (smtp2.bway.net [216.220.96.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5F58392 for ; Sat, 20 May 2017 20:56:44 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-148.dsl.bway.net [216.220.115.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id CB4139586B; Sat, 20 May 2017 16:56:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1495313796; bh=oYcLlRwAbiJRoj28wmkkTps9y8xggeDc27vHav0kmUw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=TLH8PcBQ3EdhP78fDtaZBt+Twbjftn+0SDzlxIYt2y2k+4VXPHOlDjVOs6pDz6ioE Z3zxrUQ+8dxjKaoSjeR4wOc4o6dB1QSOhCK2VtOdKSSlW/vMHetaaoxdU77K/5HSZa sdlheWYeLn5DCzVyw1GXQCJki6hF5sjtY69Aetv4= Date: Sat, 20 May 2017 16:56:36 -0400 From: mfv To: RW via freebsd-questions Cc: RW Subject: Re: GnuPG smart card && geli Message-ID: <20170520165636.27ca80d9@gecko4> In-Reply-To: <20170519180708.0c8c6b84@gumby.homeunix.com> References: <20170517103822.GB16462@c720-r314251> <20170519101806.1674fda0@gecko4> <20170519161416.68df0fc8@gumby.homeunix.com> <20170519121514.21469751@gecko4> <20170519180708.0c8c6b84@gumby.homeunix.com> Reply-To: mfv@bway.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2017 20:56:45 -0000 > On Fri, 2017-05-19 at 18:07 RW via freebsd-questions > wrote: > >On Fri, 19 May 2017 12:15:14 -0400 >mfv wrote: > > >> Is it possible to automatically read a password/passfile during boot >> up from a USB memory stick without geli? If so, how? > >I've never tried mounting geli partitions at boot time but I would >image you could do it by mounting the stick from fstab and passing the >appropriate flag in rc.conf. > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >https://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" Hello RW, Thanks for this useful suggestion. It seems feasible for my skill level. I know enough of FreeBSD to edit fstab but am not clear about the specific settings in rc.conf. As I am not interested in using geli I looked in /etc/defaults/rc.conf for an appropriate setting but could not find anything that could be used. Did I miss something? If not, does that mean I have to roll my own rc script and place it in /usr/local/etc/rc.d? Cheers ... Marek