6

Tip #217   List user accounts on a system

cut -d: -f1 /etc/passwd | sort
OR
getent passwd|cut -d: -f1|sort