[debian-edu-commits] debian-edu/ 12/30: Improving the way the gdm/kdm user uid is got

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Mon Jun 9 20:30:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to branch master
in repository killer.

commit d0cef1cb012b3693cc6495fa11745987ede5e9cc
Author: José L. Redrejo Rodríguez <jredrejo at edu.juntaextremadura.net>
Date:   Thu Feb 28 13:36:29 2008 +0000

    Improving the way the gdm/kdm user uid is got
---
 debian/patches/x-console.dpatch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/x-console.dpatch b/debian/patches/x-console.dpatch
index f513490..677c7e4 100644
--- a/debian/patches/x-console.dpatch
+++ b/debian/patches/x-console.dpatch
@@ -31,7 +31,7 @@ gdmuser tty7         2008-02-14 20:21 (:0)
 +       ) {
 +         $consoleuser = $parts[0];
 +         $tty2idletime{$parts[1]}=0;
-+         my $user = `getent passwd|grep $consoleuser|cut -f3 -d:`;
++         my $user = `getent passwd $consoleuser|cut -f3 -d:`;
 +         chomp($user);
 +         push (@{$user2ttys{$user}},  $parts[1]);
 +    } else {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/killer.git



More information about the debian-edu-commits mailing list