listing users and groups

RH 7.2

I'm trying to list the users & groups on my machine. I found the lsuser & lsgroup commands but no associated man pages.

I typed: lsuser
I get --> Valid options are: -a

So I typed: lsuser -a
I get --> Valid options are: groups, home

So I typed: lsuser -a groups
I get --> /usr/bin/lsuser: nawk: command not found

There is no "nawk" on my system.

For listing groups:

I typed: lsgroup
I get --> /usr/bin/lsgroup: nawk: command not found
ypcat: can't get local yp domain: Local domain name not set

I anybody familiar with these commands (I found no man pages)? Is there another way to list users & groups?

Users are in /etc/passwd....

cat /etc/passwd | awk -F: '{print $1" ---> "$4}'

will return all users and which group they are in.

Thanks! Looks like I can also use /etc/group to get a listing of groups.