1
From: Frederic Peters <fpeters@debian.org>
2
Bug-Debian: http://bugs.debian.org/618764
3
Description: Do not consider system users returned from consolekit history.
7
1 files changed, 4 insertions(+), 1 deletions(-)
9
diff --git a/src/daemon.c b/src/daemon.c
10
index 32e9c97..a32276b 100644
13
@@ -336,6 +336,7 @@ process_ck_history_line (Daemon *daemon,
21
@@ -344,7 +345,9 @@ process_ck_history_line (Daemon *daemon,
25
- if (user_is_excluded (daemon, username, daemon->priv->minimal_uid)) {
26
+ pw = getpwnam (username);
28
+ if (user_is_excluded (daemon, username, pw->pw_uid)) {
29
g_debug ("excluding user '%s'", username);