Hi Fabrizio,

Man is broken under the hurd.  When one tries to view man pages as root, man
executes su with the -c option.  This flag is not supported under the hurd's
su.  This patch will fix it to work on the hurd:

--- /bin/man    Thu Feb 10 10:50:30 2000
+++ man Sun Mar 12 18:57:28 2000
@@ -2,6 +2,6 @@
 pgm=`basename $0`
 edir=/usr/lib/man-db
 cmd="${edir}/${pgm} ${1+$@}"
-test -w /root && exec su nobody -c ${1+"$cmd"}
+test -w /root && exec sush nobody ${cmd} $1
 exec ${cmd}

Thanks,
-Neal

-- 
----------------------------------------------------------------------------
Neal Walfield                                              [EMAIL PROTECTED]
UMass Lowell - Fox 1512                                  Phone: 978-934-5347
                                                           Fax: 603-415-3645
Love is the triumph of imagination over intelligence.
                -- H. L. Mencken

Reply via email to