Accepting request 559350 from GNOME:Factory

- Add remove-no-longer-used-system-accounts.patch:
  Drop operator, nobody4 and noaccess from the blacklist
  (bsc#1063794, fdo#103879).

- Update specfile to build

OBS-URL: https://build.opensuse.org/request/show/559350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/accountsservice?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2017-12-29 17:49:09 +00:00 committed by Git OBS Bridge
commit c5f0f557a7
3 changed files with 26 additions and 1 deletions

View File

@ -1,7 +1,14 @@
-------------------------------------------------------------------
Fri Dec 22 03:05:02 UTC 2017 - qzheng@suse.com
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
-------------------------------------------------------------------
Thu Aug 10 09:33:16 UTC 2017 - yfjiang@suse.com
- Update specfile to build
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
-------------------------------------------------------------------

View File

@ -31,6 +31,8 @@ Patch0: accountsservice-sysconfig.patch
Patch1: accountsservice-filter-suse-accounts.patch
# PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch fate#318433 cxiong@suse.com -- prevent multiple simultaneous login.
Patch2: as-fate318433-prevent-same-account-multi-logins.patch
# PATCH-FIX-UPSTREAM remove-no-longer-used-system-accounts.patch bsc#1063794 fdo#103879 qzheng@suse.com -- drop operator, nobody4 and noaccess from the blacklist.
Patch3: remove-no-longer-used-system-accounts.patch
# needed for patch0
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
@ -90,6 +92,7 @@ querying and manipulating user account information.
%setup -q
%patch0 -p1
%patch1 -p1
%patch3 -p1
%if !0%{?is_opensuse}
%patch2 -p1
%endif

View File

@ -0,0 +1,15 @@
diff --git a/src/user-classify.c b/src/user-classify.c
index 9b4af06..4b3fdd1 100644
--- a/src/user-classify.c
+++ b/src/user-classify.c
@@ -39,10 +39,7 @@ static const char *default_excludes[] = {
"mail",
"news",
"uucp",
- "operator",
"nobody",
- "nobody4",
- "noaccess",
"postgres",
"pvm",
"rpm",