From 6235f699f7364f5340935fcf28ae3c9934af954bd7c3fe09c8df7c34adfc5c75 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 16 May 2019 08:53:34 +0000 Subject: [PATCH] Accepting request 703109 from home:favogt:branches:Base:System - Bump to version 20190513: * Invalidate root password by default (bsc#1134524) OBS-URL: https://build.opensuse.org/request/show/703109 OBS-URL: https://build.opensuse.org/package/show/Base:System/system-user-root?expand=0&rev=5 --- system-user-root.changes | 6 ++++++ system-user-root.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/system-user-root.changes b/system-user-root.changes index e7237e8..ce89c6c 100644 --- a/system-user-root.changes +++ b/system-user-root.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 13 12:38:32 UTC 2019 - Fabian Vogt + +- Bump to version 20190513: + * Invalidate root password by default (bsc#1134524) + ------------------------------------------------------------------- Wed Jun 21 11:02:42 CEST 2017 - kukuk@suse.de diff --git a/system-user-root.spec b/system-user-root.spec index b301952..f4e4834 100644 --- a/system-user-root.spec +++ b/system-user-root.spec @@ -1,7 +1,7 @@ # -# spec file for package system-users +# spec file for package system-user-root # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: system-user-root -Version: 20170617 +Version: 20190513 Release: 0 Summary: System user and group root License: MIT @@ -26,9 +26,9 @@ Source1: system-user-root.conf BuildArch: noarch Provides: group(root) Provides: group(shadow) +Provides: group(trusted) Provides: group(users) Provides: user(root) -Provides: group(trusted) #!BuildIgnore: group(root) #!BuildIgnore: group(trusted) #!BuildIgnore: user(root) @@ -67,7 +67,7 @@ if not posix.access("/etc/shadow", "f") then file = io.open("/etc/shadow", "a+") local date = os.time() date = math.floor(date / 86400) - file:write("root::", date, "::::::\n") + file:write("root:*:", date, "::::::\n") file:close() posix.chown("/etc/shadow", 0, 15) posix.chmod("/etc/shadow", 0640)