Created
January 8, 2020 13:35
-
-
Save stephdl/6a8ae9c4f2b817d06502800e5e593af3 to your computer and use it in GitHub Desktop.
/usr/libexec/nethserver/api/system-authorization/read
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@prometheus ~]# su admin -c '/usr/libexec/nethserver/api/system-authorization/read | jq' | |
{ | |
"system": [ | |
"aliases", | |
"apps", | |
"backup", | |
"certificates", | |
"company", | |
"dhcp", | |
"disk-usage", | |
"dns", | |
"hostname", | |
"hosts", | |
"logs", | |
"network", | |
"proxy", | |
"routes", | |
"services", | |
"settings", | |
"shutdown", | |
"software-center", | |
"ssh", | |
"storage", | |
"subscription", | |
"terminal", | |
"time", | |
"tls-policy", | |
"trusted-networks", | |
"users-groups" | |
], | |
"status": { | |
"isRoot": 0, | |
"isAdmin": 1 | |
}, | |
"applications": [ | |
"nethserver-antivirus", | |
"nethserver-awstats", | |
"nethserver-cgp", | |
"nethserver-crontabmanager", | |
"nethserver-fail2ban", | |
"nethserver-firewall-base", | |
"nethserver-httpd", | |
"nethserver-mail", | |
"nethserver-phpldapadmin", | |
"nethserver-phpmyadmin", | |
"nethserver-roundcubemail", | |
"nethserver-sogo", | |
"nethserver-vpn-ui" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment