Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 14:52:58 -0600 (GMT-0600)
From:      Victor Manuel Carranza Gonzalez <victor@usac.edu.gt>
To:        Frank Griffith <frankg@idfw.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: List of Users
Message-ID:  <Pine.OSF.3.96.980414144603.13605A-100000@ns.usac.edu.gt>
In-Reply-To: <000201bd674c$57d69ce0$740e42ce@flg1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Apr 1998, Frank Griffith wrote:

> I need to see what users accounts have been
> setup on my FreeBSD machine. I don't seem
> to be able to do that. LISTUSER does not
> seem to be a command available to me. Can
> someone steer me right.

You may try:

	cut -f 1,5 -d \: /etc/passwd

The result will be columns 1 and 5 of the password file (username and
GECOS field). Put it in a shell script to make things easier.

Victor



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?Pine.OSF.3.96.980414144603.13605A-100000>