[debian-edu-commits] debian-edu/ 20/31: * Fix typo in linux-ps-longusernames.dpatch, returning the password hash instead of the username.

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Tue Jun 10 23:27:33 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 a9328821dde40198ab160bad97b1f87aa215b46c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Jul 7 08:29:56 2008 +0000

      * Fix typo in linux-ps-longusernames.dpatch, returning the password
        hash instead of the username.
---
 debian/changelog                             | 7 +++++++
 debian/patches/linux-ps-longusernames.dpatch | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0e23e02..920b71d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+killer (0.90-6) unstable; urgency=low
+
+  * Fix typo in linux-ps-longusernames.dpatch, returning the password
+    hash instead of the username.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Mon,  7 Jul 2008 10:29:42 +0200
+
 killer (0.90-5) unstable; urgency=low
 
   * Rewrite patch x-console to drop code to use uid instead of username
diff --git a/debian/patches/linux-ps-longusernames.dpatch b/debian/patches/linux-ps-longusernames.dpatch
index 3d32209..66dd196 100755
--- a/debian/patches/linux-ps-longusernames.dpatch
+++ b/debian/patches/linux-ps-longusernames.dpatch
@@ -15,7 +15,7 @@ diff -urNad killer~/killer killer/killer
 -	
 +
 +        # Linux ps report uid when username is longer than 8 characters.
-+        $user = (getpwuid($user))[1] if ($user =~ m/^\d+/);
++        $user = (getpwuid($user))[0] if ($user =~ m/^\d+/);
 +
  	$pid2user{$pid} = $user;
  	$pid2ruser{$pid} = $ruser;

-- 
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