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
30 lines
744 B
Diff
30 lines
744 B
Diff
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
|
|
};
|
|
|