Date: Tue, 8 May 2001 09:00:04 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/27205: Listing all users in the passwd file Message-ID: <200105081600.f48G04E59914@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/27205; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: jamie@psi-domain.co.uk Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/27205: Listing all users in the passwd file Date: Tue, 8 May 2001 20:03:21 +0300 You might want to make a port out of this.. G'luck, Peter -- This sentence would be seven words long if it were six words shorter. On Tue, May 08, 2001 at 04:32:02PM +0100, jamie@psi-domain.co.uk wrote: > > >Number: 27205 > >Category: bin > >Synopsis: Listing all users in the passwd file > >Originator: Jamie Heckford > >Release: FreeBSD 4.2-STABLE i386 > >Organization: > Psi-Domain Limited > >Environment: > > FreeBSD storm.psi-domain.co.uk 4.2-STABLE FreeBSD 4.2-STABLE #2: Fri Mar 2 10:32:25 GMT 2001 > > >Description: > > I was recently trying to discover a way of getting a list of all users on > one of my systems, and could not find an easy way to do it. > > I discovered the following awk script that prints out all users on the system > (from /etc/passwd). (Courtesy of sendmail.org) > > awk -F: '$3 > 100 { print $1 }' /etc/passwd > > Which will print out a list of all users in the passwd file wuth a UID greater > than 100. > > Could this be turned into a command such as "userlist", and/or would it be > deemed usefull? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105081600.f48G04E59914>