1
0

Accepting request 504644 from home:kukuk:sysusers

- Add group trusted [bsc#1044014]

OBS-URL: https://build.opensuse.org/request/show/504644
OBS-URL: https://build.opensuse.org/package/show/Base:System/system-user-root?expand=0&rev=2
This commit is contained in:
Thorsten Kukuk 2017-06-20 06:16:13 +00:00 committed by Git OBS Bridge
parent 888a4ae548
commit 88aa76e3df
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 19 13:12:37 CEST 2017 - kukuk@suse.de
- Add group trusted [bsc#1044014]
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 17 12:41:57 CEST 2017 - kukuk@suse.de Sat Jun 17 12:41:57 CEST 2017 - kukuk@suse.de

View File

@ -28,6 +28,7 @@ Provides: group(root)
Provides: group(shadow) Provides: group(shadow)
Provides: group(users) Provides: group(users)
Provides: user(root) Provides: user(root)
Provides: group(trusted)
%description %description
This package provides the root account including the groups root, This package provides the root account including the groups root,
@ -55,7 +56,7 @@ if not posix.access("/etc/passwd", "f") then
end end
if not posix.access("/etc/group", "f") then if not posix.access("/etc/group", "f") then
file = io.open("/etc/group", "a+") file = io.open("/etc/group", "a+")
file:write("root:x:0:\nshadow:x:15:\nusers:x:100:\n") file:write("root:x:0:\nshadow:x:15:\ntrusted:x:42:\nusers:x:100:\n")
file:close() file:close()
posix.chmod("/etc/group", 0644) posix.chmod("/etc/group", 0644)
end end