Advertisement
lkchen

This is why cfengine wiped out all the passwd files.

Jun 25th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1.         passwd_file = open(filename, 'w')
  2.         if not options.pretend:
  3.             passwd_file.write(passwd)
  4.             logging.info("Wrote %s to disk." % filename)
  5.         else:
  6.             logging.info("Would have wrote %s to disk." % filename)
  7.         passwd_file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement