MXS-2305: Show Linux users in list users
The linux users were missing from the `list users` output.
This commit is contained in:
@ -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'},
|
||||||
|
|||||||
Reference in New Issue
Block a user