1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| $ column -J -s ":" -N "Username,Password,UID,GID,Gecos,HomeDirectory,Shell" /etc/passwd { "table": [ { "username": "root", "password": "x", "uid": "0", "gid": "0", "gecos": "root", "homedirectory": "/root", "shell": "/bin/bash" },{ "username": "daemon", "password": "x", "uid": "1", "gid": "1", "gecos": "daemon", "homedirectory": "/usr/sbin", "shell": "/usr/sbin/nologin" },{ "username": "bin", "password": "x", "uid": "2", "gid": "2", "gecos": "bin", "homedirectory": "/bin", "shell": "/usr/sbin/nologin" },{ "username": "sys", "password": "x", "uid": "3", "gid": "3", "gecos": "sys", "homedirectory": "/dev", "shell": "/usr/sbin/nologin" },{ "username": "sync", "password": "x", "uid": "4", "gid": "65534", "gecos": "sync", "homedirectory": "/bin", "shell": "/bin/sync" } ] }
|