summaryrefslogtreecommitdiff
path: root/strata/openstack-services/nova.morph
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-17 15:00:30 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-02 17:45:43 +0000
commitb6d04c3193ccbe8449da4507ba782b33f2740368 (patch)
treeab5c12e1f80a1f86135c8b6610a343444942027a /strata/openstack-services/nova.morph
parentb9234b9237be5168821925ed193897479620619d (diff)
downloaddefinitions-b6d04c3193ccbe8449da4507ba782b33f2740368.tar.gz
Disable login requirement for sudo for cinder, nova and neutron users
Requiredtty is dissable by default but just in case we enable it in the future for the rest of the users, cinder, nova and neutron needs login disable to run commands being superuser.
Diffstat (limited to 'strata/openstack-services/nova.morph')
-rw-r--r--strata/openstack-services/nova.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/openstack-services/nova.morph b/strata/openstack-services/nova.morph
index 98ac9854..bb6dd756 100644
--- a/strata/openstack-services/nova.morph
+++ b/strata/openstack-services/nova.morph
@@ -12,5 +12,7 @@ post-install-commands:
- mkdir -p "$DESTDIR"/etc/sudoers.d
- |
install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/nova-rootwrap
+ Defaults:nova !requiretty
+
nova ALL=(root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
EOF