Commit fe4734e4 authored by Antoine Catton's avatar Antoine Catton

Enforce security on password generated by pwgen

parent f2377cab
...@@ -42,4 +42,5 @@ class Recipe(GenericBaseRecipe): ...@@ -42,4 +42,5 @@ class Recipe(GenericBaseRecipe):
options['password'] = password options['password'] = password
def install(self): def install(self):
os.chmod(self.options['file'], 0600)
return [] return []
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment