From owner-freebsd-questions Tue Apr 14 14:00:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12186 for freebsd-questions-outgoing; Tue, 14 Apr 1998 14:00:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.usac.edu.gt ([168.234.52.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA12074 for ; Tue, 14 Apr 1998 21:00:05 GMT (envelope-from victor@usac.edu.gt) Received: from localhost by ns.usac.edu.gt; (5.65/1.1.8.2/17Apr97-1150AM) id AA13880; Tue, 14 Apr 1998 14:52:58 -0600 Date: Tue, 14 Apr 1998 14:52:58 -0600 (GMT-0600) From: Victor Manuel Carranza Gonzalez To: Frank Griffith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: List of Users In-Reply-To: <000201bd674c$57d69ce0$740e42ce@flg1> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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