Date: Fri, 30 Apr 1999 01:23:00 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: ggreg@iwinet.com (Greg Eadie) Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: User Information Message-ID: <199904300523.BAA08171@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <3727D3A8.3B3B0D7B@iwinet.com> from Greg Eadie at "Apr 28, 99 11:36:09 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Eadie wrote, > Hello everyone. > > Can anyone tell me the easiest way to get a print out of all the users > (with real name also) who are on my FreeBSD mail server? Either load /etc/passwd into your favorite editor and go, or maybe use something like this simple shell script, #!/bin/sh IFS=: while read LINE; do set -f -- $LINE echo "$1 $5" done < /etc/passwd That should print it; not too pretty, but it works. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904300523.BAA08171>