From owner-freebsd-questions@FreeBSD.ORG Thu Dec 13 19:03:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7A416A417 for ; Thu, 13 Dec 2007 19:03:42 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id A1B5113C465 for ; Thu, 13 Dec 2007 19:03:42 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBDJ2vS9028940; Thu, 13 Dec 2007 12:02:58 -0700 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBDJ2vjr023838; Thu, 13 Dec 2007 12:02:57 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 1AAFA1F800B; Thu, 13 Dec 2007 12:02:53 -0700 (MST) From: James Harrison To: Peter Boosten In-Reply-To: <20071213195148.7ky378lh80sg000k@www.boosten.org> References: <1197570177.17297.58.camel@p25dual1.lanl.gov> <20071213193021.wue4321qcuss00o8@www.boosten.org> <20071213184206.GB1085@brick.slightlystrange.org> <20071213195148.7ky378lh80sg000k@www.boosten.org> Content-Type: text/plain Organization: Los Alamos National Labs Date: Thu, 13 Dec 2007 12:02:52 -0700 Message-Id: <1197572572.17297.65.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: Daniel Bye , freebsd-questions@freebsd.org Subject: Re: login.conf password options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 19:03:43 -0000 On Thu, 2007-12-13 at 19:51 +0100, Peter Boosten wrote: > Quoting Daniel Bye : > > > On Thu, Dec 13, 2007 at 07:30:21PM +0100, Peter Boosten wrote: > >> Quoting James Harrison : > >> > >> > :passwordtime=150d:\ > >> > :warnpassword=150d: > >> > >> Is it me, or did you forget the backslash here? > > > > No, that's correct. It's the last line of a class definition. The backslash > > is used as a line continuation character, and is not necessary on the last > > line. In fact, it must not be included, else it will cause the system to > > interpret the next line as part of the same class definition, rather than > > the start of the next. > > > > Very good answer, *if* it were the last line of the class definition. > I cut the last two lines from the original description from OP. > > So to OP: add a backslash to the warnpassword= line. > > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Ah! I see! No, I'd already caught that one about a minute after I sent off my original mail. My current default looks like: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :vmemoryuse=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022:\ :passwordtime=150d:\ :warnpassword=150d:\ :sessiontime=1h30m:\ :warntime=1h29m: Good catch!