Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 09:17:14 -0500
From:      "Norman C. Rice" <nrice@emu.sourcee.com>
To:        David Hawkins <dhawk@river.org>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: ISP's using login.conf (2.2.5)??
Message-ID:  <19971118091714.49192@emu.sourcee.com>
In-Reply-To: <199711172103.NAA29143@ohio.river.org>; from David Hawkins on Mon, Nov 17, 1997 at 01:03:00PM -0800
References:  <199711172103.NAA29143@ohio.river.org>

index | next in thread | previous in thread | raw e-mail

On Mon, Nov 17, 1997 at 01:03:00PM -0800, David Hawkins wrote:
> I just upgraded to 2.2.5 yesterday and noticed the login.conf file.
> I already had  limit cputime 1:30   in /etc/csh.login so thought
> I'd copy it over and I put in  cputime=1h  (I think it was). Drove
> home (1 hour) and logged in to find that people couldn't stay logged
> in -- that it was setting limit to 1 minute. Changed it back to
> unlimited for the moment.
> 
> Was curious if someone had a recommended login.conf and/or had noticed
> any other 'gotcha's? Does this mean I should quit running idled?
> 
> Apologies if this has been discussed to death -- I wasn't paying
> attention to the 2.2.5 stuff before. 
> 
> later, david
> --
> David Hawkins  -- dhawk@river.org        http://www.river.org
> "Anyone with an active mind lives on tentatives rather than tenets."
>                                        -- Robert Frost

Maybe it's just a strange coincidence, but the login.conf man page (2.2.5-RELEASE)
reports that the time field's 'h' suffix (referred to as a prefix?) is for minutes. 
However, it goes on to give an example where it is used for hours, i.e., 2h40m for
two hours and 40 minutes. There is also no reporting of the 'm' unit in the time
field. Perhaps this confusion warrants some source code scrutiny.

I also recall that login.conf was inadvertently omitted from the /etc area when 
2.2.2-RELEASE was released which caused some mailing list and news group activity.
-- 
Regards,
Norm


home | help

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