function parseNames (str) {
  return str.split('\n')
    .reduce((p, d) => {
      const [name, , id] = d.split(':')
      return {
        ...p,
        [id + '']: name
      }
    }, {})
}
get owner group/users list of local and remote sessions

for mac list users: `dscl . -list /Users UniqueID`
for mac list groups: `dscl . list /Groups PrimaryGroupID`
for linux list users: `cat /etc/passwd`
for linux list groups: `cat /etc/group`
for windows list users: do not know yet
for windows list groups: do not know yet