I tried below:



On my linux workstation, I only created 2 users: 'root' and 'tify'.

Most of users and groups below look like system users and groups target for quite specific purpose.
Can we do some filtering to only get users and groups that truly related to VM assignment?

curl -k -u root:pass -H "Content-Type: applicaion/json" -H "Accept: application/json" https://localhost:8001/host/users
[
  "root",
  "bin",
  "daemon",
  "adm",
  "lp",
  "sync",
  "shutdown",
  "halt",
  "mail",
  "uucp",
  "operator",
  "games",
  "gopher",
  "ftp",
  "nobody",
  "dbus",
  "usbmuxd",
  "rpc",
  "vcsa",
  "rtkit",
  "avahi-autoipd",
  "saslauth",
  "postfix",
  "rpcuser",
  "nfsnobody",
  "ntp",
  "apache",
  "radvd",
  "haldaemon",
  "qemu",
  "pulse",
  "gsanslcd",
  "nm-openconnect",
  "gdm",
  "sshd",
  "tcpdump",
  "tify",
  "nginx"
]

curl -k -u root:pass -H "Content-Type: applicaion/json" -H "Accept: application/json" https://localhost:8001/host/groups
[
  "root",
  "bin",
  "daemon",
  "sys",
  "adm",
  "tty",
  "disk",
  "lp",
  "mem",
  "kmem",
  "wheel",
  "mail",
  "uucp",
  "man",
  "games",
  "gopher",
  "video",
  "dip",
  "ftp",
  "lock",
  "audio",
  "nobody",
  "users",
  "dbus",
  "utmp",
  "utempter",
  "usbmuxd",
  "rpc",
  "avdefs",
  "floppy",
  "vcsa",
  "desktop_admin_r",
  "desktop_user_r",
  "rtkit",
  "avahi-autoipd",
  "cdrom",
  "tape",
  "dialout",
  "wbpriv",
  "cgred",
  "saslauth",
  "postdrop",
  "postfix",
  "rpcuser",
  "nfsnobody",
  "ntp",
  "apache",
  "radvd",
  "haldaemon",
  "kvm",
  "qemu",
  "pulse",
  "pulse-access",
  "fuse",
  "ldap",
  "nm-openconnect",
  "gdm",
  "stapusr",
  "stapsys",
  "stapdev",
  "sshd",
  "tcpdump",
  "slocate",
  "tify",
  "screen",
  "nginx"
]