diff options
Diffstat (limited to 'debian/patches/shadow_permissions.patch')
-rw-r--r-- | debian/patches/shadow_permissions.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/patches/shadow_permissions.patch b/debian/patches/shadow_permissions.patch deleted file mode 100644 index d6731e4..0000000 --- a/debian/patches/shadow_permissions.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Use the proper permissions on /etc/shadow (LP: #1188820). -Bug: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1188820 -Author: Ben Howard -Last-Update: 2013-07-23 ---- a/waagent -+++ b/waagent -@@ -2423,7 +2423,7 @@ def DeleteRootPassword(): - ReplaceFileContentsAtomic(filepath, "root:*LOCK*:14600::::::\n" + "\n".join(filter(lambda a: not - a.startswith("root:"), - GetFileContents(filepath).split('\n')))) -- os.chmod(filepath, 0000) -+ os.chmod(filepath, 0640) - if IsRedHat(): - Run("chcon system_u:object_r:shadow_t:s0 " + filepath) - Log("Root password deleted.") |