Accepting request 112366 from home:vuntz:branches:GNOME:Factory
Filter out system users OBS-URL: https://build.opensuse.org/request/show/112366 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=25
This commit is contained in:
parent
5193438aaf
commit
6ed2118662
29
accountsservice-filter-more-accounts.patch
Normal file
29
accountsservice-filter-more-accounts.patch
Normal file
@ -0,0 +1,29 @@
|
||||
commit abd78a5a184f012aecdb8b3795b91c854e1fbece
|
||||
Author: Ray Strode <rstrode@redhat.com>
|
||||
Date: Mon Apr 2 16:52:19 2012 -0400
|
||||
|
||||
daemon: extend blacklist
|
||||
|
||||
Since commit 552a0c856a6e3a7c2e6450ab80e79f4204062281 we no
|
||||
longer hide certain system users that have a shell.
|
||||
|
||||
This commit adds a few more users to our blacklist to keep
|
||||
things running smooth.
|
||||
|
||||
Ideally, we'll find a more general solution.
|
||||
|
||||
diff --git a/src/daemon.c b/src/daemon.c
|
||||
index 3ca232b..d186ab6 100644
|
||||
--- a/src/daemon.c
|
||||
+++ b/src/daemon.c
|
||||
@@ -75,6 +75,10 @@ static const char *default_excludes[] = {
|
||||
"rpm",
|
||||
"nfsnobody",
|
||||
"pcap",
|
||||
+ "mysql",
|
||||
+ "ftp",
|
||||
+ "games",
|
||||
+ "man",
|
||||
NULL
|
||||
};
|
||||
|
13
accountsservice-filter-suse-accounts.patch
Normal file
13
accountsservice-filter-suse-accounts.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: accountsservice-0.6.17/src/daemon.c
|
||||
===================================================================
|
||||
--- accountsservice-0.6.17.orig/src/daemon.c
|
||||
+++ accountsservice-0.6.17/src/daemon.c
|
||||
@@ -79,6 +79,8 @@ static const char *default_excludes[] =
|
||||
"ftp",
|
||||
"games",
|
||||
"man",
|
||||
+ "beagleindex",
|
||||
+ "suse-ncc",
|
||||
NULL
|
||||
};
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 11:45:58 UTC 2012 - vuntz@opensuse.org
|
||||
|
||||
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
|
||||
games, man and mysql system users too, taken from git.
|
||||
- Add accountsservice-filter-suse-accounts.patch: filter out some
|
||||
openSUSE-specific accounts (beagleindex, suse-ncc).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 06:36:18 UTC 2012 - vuntz@opensuse.org
|
||||
|
||||
|
@ -27,6 +27,10 @@ Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{ve
|
||||
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too
|
||||
# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch)
|
||||
Patch0: accountsservice-sysconfig.patch
|
||||
# PATCH-FIX-UPSTREAM accountsservice-filter-more-accounts.patch fdo#48178 vuntz@opensuse.org -- Filter out some additional system users; taken from git.
|
||||
Patch1: accountsservice-filter-more-accounts.patch
|
||||
# PATCH-FIX-OPENSUSE accountsservice-filter-suse-accounts.patch vuntz@opensuse.org -- Filter out some system users that are specific to openSUSE
|
||||
Patch2: accountsservice-filter-suse-accounts.patch
|
||||
# needed for patch0
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: gobject-introspection-devel
|
||||
@ -86,6 +90,8 @@ querying and manipulating user account information.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# needed for patch0
|
||||
|
Loading…
Reference in New Issue
Block a user