Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 11:59:34 -0700
From:      James Harrison <jamesh@lanl.gov>
To:        Peter Boosten <peter@boosten.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: login.conf password options
Message-ID:  <1197572374.17297.62.camel@p25dual1.lanl.gov>
In-Reply-To: <20071213193021.wue4321qcuss00o8@www.boosten.org>
References:  <1197570177.17297.58.camel@p25dual1.lanl.gov> <20071213193021.wue4321qcuss00o8@www.boosten.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2007-12-13 at 19:30 +0100, Peter Boosten wrote:
> Quoting James Harrison <jamesh@lanl.gov>:
> 
> >         :passwordtime=150d:\
> >         :warnpassword=150d:
> 
> Is it me, or did you forget the backslash here?
> 
> Peter

It's you; the last option doesn't receive a backslash. Here's one of the
prebuilt examples from login.conf:

#xuser:\
#       :manpath=/usr/share/man /usr/local/man:\
#       :cputime=4h:\
#       :datasize=12M:\
#       :vmemoryuse=infinity:\
#       :stacksize=4M:\
#       :filesize=8M:\
#       :memoryuse=16M:\
#       :openfiles=32:\
#       :maxproc=48:\
#       :tc=standard:


It's commented out, but note that the last one doesn't receive a
backslash. Well spotted, though! For ten minutes, I was convinced that
the problem had to be backslashes, because I noticed I'd mistyped a
couple.


James




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