<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I tried below:<br>
<br>
<img src="cid:part1.03060500.01060308@linux.vnet.ibm.com" alt=""><br>
<br>
On my linux workstation, I only created 2 users: 'root' and 'tify'.<br>
<br>
Most of users and groups below look like system users and groups
target for quite specific purpose.<br>
Can we do some filtering to only get users and groups that truly
related to VM assignment?<br>
<br>
curl -k -u root:pass -H "Content-Type: applicaion/json" -H "Accept:
application/json" <a class="moz-txt-link-freetext" href="https://localhost:8001/host/users">https://localhost:8001/host/users</a> <br>
[<br>
"root",<br>
"bin",<br>
"daemon",<br>
"adm",<br>
"lp",<br>
"sync",<br>
"shutdown",<br>
"halt",<br>
"mail",<br>
"uucp",<br>
"operator",<br>
"games",<br>
"gopher",<br>
"ftp",<br>
"nobody",<br>
"dbus",<br>
"usbmuxd",<br>
"rpc",<br>
"vcsa",<br>
"rtkit",<br>
"avahi-autoipd",<br>
"saslauth",<br>
"postfix",<br>
"rpcuser",<br>
"nfsnobody",<br>
"ntp",<br>
"apache",<br>
"radvd",<br>
"haldaemon",<br>
"qemu",<br>
"pulse",<br>
"gsanslcd",<br>
"nm-openconnect",<br>
"gdm",<br>
"sshd",<br>
"tcpdump",<br>
"tify",<br>
"nginx"<br>
]<br>
<br>
curl -k -u root:pass -H "Content-Type: applicaion/json" -H "Accept:
application/json" <a class="moz-txt-link-freetext" href="https://localhost:8001/host/groups">https://localhost:8001/host/groups</a><br>
[<br>
"root",<br>
"bin",<br>
"daemon",<br>
"sys",<br>
"adm",<br>
"tty",<br>
"disk",<br>
"lp",<br>
"mem",<br>
"kmem",<br>
"wheel",<br>
"mail",<br>
"uucp",<br>
"man",<br>
"games",<br>
"gopher",<br>
"video",<br>
"dip",<br>
"ftp",<br>
"lock",<br>
"audio",<br>
"nobody",<br>
"users",<br>
"dbus",<br>
"utmp",<br>
"utempter",<br>
"usbmuxd",<br>
"rpc",<br>
"avdefs",<br>
"floppy",<br>
"vcsa",<br>
"desktop_admin_r",<br>
"desktop_user_r",<br>
"rtkit",<br>
"avahi-autoipd",<br>
"cdrom",<br>
"tape",<br>
"dialout",<br>
"wbpriv",<br>
"cgred",<br>
"saslauth",<br>
"postdrop",<br>
"postfix",<br>
"rpcuser",<br>
"nfsnobody",<br>
"ntp",<br>
"apache",<br>
"radvd",<br>
"haldaemon",<br>
"kvm",<br>
"qemu",<br>
"pulse",<br>
"pulse-access",<br>
"fuse",<br>
"ldap",<br>
"nm-openconnect",<br>
"gdm",<br>
"stapusr",<br>
"stapsys",<br>
"stapdev",<br>
"sshd",<br>
"tcpdump",<br>
"slocate",<br>
"tify",<br>
"screen",<br>
"nginx"<br>
]<br>
</body>
</html>