1
0

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
This commit is contained in:
Thorsten Kukuk 2019-05-16 08:53:34 +00:00 committed by Git OBS Bridge
parent 83cdf26ae5
commit 6235f699f7
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 13 12:38:32 UTC 2019 - Fabian Vogt <fvogt@suse.com>
- Bump to version 20190513:
* Invalidate root password by default (bsc#1134524)
-------------------------------------------------------------------
Wed Jun 21 11:02:42 CEST 2017 - kukuk@suse.de

View File

@ -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)