csv-users - list system users in CSV format
csv-users [OPTION]…
Print to standard output the list of system users in the CSV format.
| name | type | description | level | 
|---|---|---|---|
| name | string | name | 0 | 
| uid | int | user id | 0 | 
| gid | int | default group id | 0 | 
| dir | string | home directory | 0 | 
| shell | string | login shell | 0 | 
| gecos | string | real name / contact information | 1 | 
| passwd | string | password | 2 | 
passwd column comes from /etc/passwd, so it is useless on modern systems, as a real password is stored somewhere else and is not visible to normal users.
csv-users -scsv-groups -T -N grp | csv-users -M | csv-sqlite -T 'select user.name as user_name, grp.name as group_name from user, grp where user.gid = grp.gid' -scsv-groups(1), csv-group-members(1), csv-show(1), csv-nix-tools(7)