Get all username

getent passwd| awk '{FS="[:]"; print $1}'
click the source code to copy