Add privsep-helper to nova sudoers file
With the new oslo-privsep library, there is now a privsep-helper command that is used to escalate privledges. This command needs to be runnable by the nova user via sudo without a password. The old rootwrap command is still used as well, so for now we need to have both. Change-Id: I3bf334bf9498f67a1e91041d1d50870964e6141c
This commit is contained in:
1 changed files with 1 additions and 0 deletions
@@ -4,3 +4,4 @@ Defaults:{{ nova_system_user_name }} !requiretty
Defaults:{{ nova_system_user_name }} secure_path="{{ nova_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
{{ nova_system_user_name }} ALL = (root) NOPASSWD: {{ nova_bin }}/{{ nova_service_name }}-rootwrap
{{ nova_system_user_name }} ALL = (root) NOPASSWD: {{ nova_bin }}/privsep-helper
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.