From owner-freebsd-questions@FreeBSD.ORG Thu Dec 13 19:00:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090B816A475 for ; Thu, 13 Dec 2007 19:00:43 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id B9FA813C478 for ; Thu, 13 Dec 2007 19:00:42 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBDIxbfM028124; Thu, 13 Dec 2007 11:59:37 -0700 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBDIxbDV022563; Thu, 13 Dec 2007 11:59:37 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 534FD1F800C; Thu, 13 Dec 2007 11:59:34 -0700 (MST) From: James Harrison To: Peter Boosten In-Reply-To: <20071213193021.wue4321qcuss00o8@www.boosten.org> References: <1197570177.17297.58.camel@p25dual1.lanl.gov> <20071213193021.wue4321qcuss00o8@www.boosten.org> Content-Type: text/plain Organization: Los Alamos National Labs Date: Thu, 13 Dec 2007 11:59:34 -0700 Message-Id: <1197572374.17297.62.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: login.conf password options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 19:00:43 -0000 On Thu, 2007-12-13 at 19:30 +0100, Peter Boosten wrote: > Quoting James Harrison : > > > :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