login.conf password options

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


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.

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/0249f383/attachment-0001.pgp


More information about the freebsd-questions mailing list