Parses /etc/passwd
Author: Free Ekanayaka fr@64stud io.com ee
pw_passwd
let password = [ label "password" . sto_to_col? . colon ]
pw_uid
let uid = [ label "uid" . store integer . colon ]
pw_gid
let gid = [ label "gid" . store integer . colon ]
pw_gecos; the user’s full name
let name = [ label "name" . sto_to_col? . colon ]
pw_dir
let home = [ label "home" . sto_to_col? . colon ]
pw_shell
let shell = [ label "shell" . sto_to_eol? ]
struct passwd
let entry = [ key username . colon . password . uid . gid . name . home . shell . eol ]