From owner-freebsd-questions Sat Jan 26 3:55:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from drex.staff.izr.com (drex.staff.izr.com [195.26.33.16]) by hub.freebsd.org (Postfix) with ESMTP id 819EB37B402 for ; Sat, 26 Jan 2002 03:55:33 -0800 (PST) Received: by drex.staff.izr.com (Postfix, from userid 1001) id 4F62C337AA; Sat, 26 Jan 2002 11:55:31 +0000 (GMT) Date: Sat, 26 Jan 2002 11:55:31 +0000 From: Mark Drayton To: Lance Bland Cc: adrian kok , questions@FreeBSD.ORG Subject: Re: number of users Message-ID: <20020126115531.A10993@drex.staff.izr.com> References: <20020125192444.A3916@drex.staff.izr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from lbland@vvi.com on Fri, Jan 25, 2002 at 02:36:21PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lance Bland (lbland@vvi.com) wrote: > > On Friday, January 25, 2002, at 02:24 PM, Mark Drayton wrote: > > > Original poster: these methods will show how many users are > > currently logged in. > > no, > > last and ac -p work from the file: file /var/log/wtmp which > accumulates all the login times, past and present. and is for "System > Accounting" The user does not have to be logged in to have an entry. Yes, you are right. What I should have said was these tools only deal with users that are logged in or have logged in at sometime. They won't count the number of user accounts on a system. -- Mark Drayton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message