Skip to content

Instantly share code, notes, and snippets.

BACKEND
-[ ] define nsAPI_cmnd_alias in /etc/sudoers.d/10_servermanager_api
https://gist.github.com/ba0d97eb578664f42852d63d630e8949
https://github.com/NethServer/nethserver-cockpit/compare/master...DavidePrincipi:sudoers
example:
Cmnd_Alias NSAPI_SYSTEM_TLS = \
/usr/libexec/nethserver/api/system-certificate/read, \
/usr/libexec/nethserver/api/system-certificate/update, \