Skip to content

Commit

Permalink
Adding keytool to the list of sudo commands for cloud user to allow c…
Browse files Browse the repository at this point in the history
…ertificate creation during startup

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
  • Loading branch information
eriweb authored and spark404 committed Aug 1, 2014
1 parent 137655d commit 451e2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lib/cloudutils/serviceConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def __init__(self, syscfg):
def config(self):
try:
cfo = configFileOps("/etc/sudoers", self)
cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount")
cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount, /usr/bin/keytool")
cfo.rmEntry("Defaults", "requiretty", " ")
cfo.save()
return True
Expand Down

0 comments on commit 451e2ab

Please sign in to comment.