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
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -166,12 +166,12 @@ exports.builder = function(yargs) {
])
})
})
.command('users', 'List created network users', function(yargs) {
return yargs.epilog('List the users that can be used to connect to the MaxScale REST API.')
.command('users', 'List created users', function(yargs) {
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')
}, function(argv) {
maxctrl(argv, function(host) {
return getCollection(host, 'users/inet',[
return getCollection(host, 'users',[
{'Name':'id'},
{'Type':'type'},
{'Privileges':'attributes.account'},