Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 11:55:31 +0000
From:      Mark Drayton <mark.drayton@izrsolutions.com>
To:        Lance Bland <lbland@vvi.com>
Cc:        adrian kok <adriankok2000@yahoo.com.hk>, questions@FreeBSD.ORG
Subject:   Re: number of users
Message-ID:  <20020126115531.A10993@drex.staff.izr.com>
In-Reply-To: <CF76FE80-11CA-11D6-A67C-0030659A531A@vvi.com>; from lbland@vvi.com on Fri, Jan 25, 2002 at 02:36:21PM -0500
References:  <20020125192444.A3916@drex.staff.izr.com> <CF76FE80-11CA-11D6-A67C-0030659A531A@vvi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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