package: coreutils
severity: important
version: 5.97-5.4
tags: patch
Hi,
su (which is provided by coreutils on hurd-i386) does no longer work for
regular users, it always returns "incorrect password".
The problem is that it is not suid as on the Linux arches, due to some
changes in dpkg-architecture, I believe.
The attached trivial patch fixes this, please apply.
Michael
--- debian/rules.orig 2007-08-23 10:59:19.670000000 +0000
+++ debian/rules 2007-08-23 10:47:31.390000000 +0000
@@ -177,7 +177,7 @@
dh_link -a
dh_compress -a
dh_fixperms -a
-ifeq ($(DEB_HOST_ARCH_OS),gnu)
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
chmod u+s $(d)/usr/bin/su
endif
dh_installdeb -a