MXS-2305: Show Linux users in list users

The linux users were missing from the `list users` output.
This commit is contained in:
Markus Mäkelä
2019-01-30 18:44:38 +02:00
parent 3f4c72d4f2
commit b0c2dc78af

View File

@ -166,12 +166,12 @@ exports.builder = function(yargs) {
]) ])
}) })
}) })
.command('users', 'List created network users', function(yargs) { .command('users', 'List created users', function(yargs) {
return yargs.epilog('List the users that can be used to connect to the MaxScale REST API.') return yargs.epilog('List network the users that can be used to connect to the MaxScale REST API as well as enabled local accounts.')
.usage('Usage: list users') .usage('Usage: list users')
}, function(argv) { }, function(argv) {
maxctrl(argv, function(host) { maxctrl(argv, function(host) {
return getCollection(host, 'users/inet',[ return getCollection(host, 'users',[
{'Name':'id'}, {'Name':'id'},
{'Type':'type'}, {'Type':'type'},
{'Privileges':'attributes.account'}, {'Privileges':'attributes.account'},