login.conf password options

James Harrison jamesh at lanl.gov
Thu Dec 13 11:00:43 PST 2007


On Thu, 2007-12-13 at 19:30 +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?
> 
> 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



More information about the freebsd-questions mailing list