Date: Thu, 13 Dec 2007 12:02:52 -0700 From: James Harrison <jamesh@lanl.gov> To: Peter Boosten <peter@boosten.org> Cc: Daniel Bye <freebsd-questions@slightlystrange.org>, freebsd-questions@freebsd.org Subject: Re: login.conf password options Message-ID: <1197572572.17297.65.camel@p25dual1.lanl.gov> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2007-12-13 at 19:51 +0100, Peter Boosten wrote: > Quoting Daniel Bye <freebsd-questions@slightlystrange.org>: > > > On Thu, Dec 13, 2007 at 07:30:21PM +0100, Peter Boosten wrote: > >> Quoting James Harrison <jamesh@lanl.gov>: > >> > >> > :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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1197572572.17297.65.camel>