From owner-freebsd-questions@freebsd.org Sun May 21 07:53:49 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 23DF9D77BA5 for ; Sun, 21 May 2017 07:53:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AAB614EA for ; Sun, 21 May 2017 07:53:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Sun, 21 May 2017 09:53:38 +0200 Received: from r56.edvax.de (port-92-195-153-207.dynamic.qsc.de [92.195.153.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 287303CBF9; Sun, 21 May 2017 09:53:38 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v4L7raOV002045; Sun, 21 May 2017 09:53:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 21 May 2017 09:53:36 +0200 From: Polytropon To: mfv@bway.net Cc: mfv via freebsd-questions , RW Subject: Re: GnuPG smart card && geli Message-Id: <20170521095336.bda4180a.freebsd@edvax.de> In-Reply-To: <20170520165636.27ca80d9@gecko4> References: <20170517103822.GB16462@c720-r314251> <20170519101806.1674fda0@gecko4> <20170519161416.68df0fc8@gumby.homeunix.com> <20170519121514.21469751@gecko4> <20170519180708.0c8c6b84@gumby.homeunix.com> <20170520165636.27ca80d9@gecko4> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 91642683488 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1182 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: Sun, 21 May 2017 07:53:49 -0000 On Sat, 20 May 2017 16:56:36 -0400, mfv via freebsd-questions wrote: > > 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. I think this pointer is related to the "mount early" and "mount late" mechanisms. The distinction can be made with the "late" option in /etc/fstab, and "boot time" ("mount early") is the opposite. ;-) > 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? A custom rc.d-style script would provide good contron over _when_ the mount operation should take place. If you want to mount something after normal system startup, you can use /etc/rc.local for scripting. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...