I keep forgetting this:
If you're coming across an old *nix box that you haven't used in a while and want to bring up all the users on the system, run this command:
awk -F':' '{ print $1}' /etc/passwd
Almost all *nix systems have awk available and /etc/passwd is the account login file (passwords themselves are usually stored /etc/shadow)
You can also just make yourself a shell script:
#!/bin/sh
awk -F':' '{ print $1}' /etc/passwd
exit
# End script