login.conf password options

Daniel Bye freebsd-questions at slightlystrange.org
Thu Dec 13 10:59:17 PST 2007


On Thu, Dec 13, 2007 at 07:51:48PM +0100, Peter Boosten wrote:
> Quoting Daniel Bye <freebsd-questions at slightlystrange.org>:
> 
> >On Thu, Dec 13, 2007 at 07:30:21PM +0100, Peter Boosten wrote:
> >>Quoting James Harrison <jamesh at 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.

Quite right. My apologies for being an unobservant, trigger-happy nit!

Dan

-- 
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071213/be809be2/attachment.pgp


More information about the freebsd-questions mailing list