Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 19:51:48 +0100
From:      Peter Boosten <peter@boosten.org>
To:        Daniel Bye <freebsd-questions@slightlystrange.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: login.conf password options
Message-ID:  <20071213195148.7ky378lh80sg000k@www.boosten.org>
In-Reply-To: <20071213184206.GB1085@brick.slightlystrange.org>
References:  <1197570177.17297.58.camel@p25dual1.lanl.gov> <20071213193021.wue4321qcuss00o8@www.boosten.org> <20071213184206.GB1085@brick.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071213195148.7ky378lh80sg000k>