Skip to content

Commit 451e2ab

Browse files
eriwebspark404
authored andcommitted
Adding keytool to the list of sudo commands for cloud user to allow certificate creation during startup
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
1 parent 137655d commit 451e2ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/lib/cloudutils/serviceConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ def __init__(self, syscfg):
729729
def config(self):
730730
try:
731731
cfo = configFileOps("/etc/sudoers", self)
732-
cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount")
732+
cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount, /usr/bin/keytool")
733733
cfo.rmEntry("Defaults", "requiretty", " ")
734734
cfo.save()
735735
return True

0 commit comments

Comments
 (0)