home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16763 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.3 KB

  1. Path: sparky!uunet!psgrain!percy!hfglobe!ichips!iWarp.intel.com|eff!sol.ctr.columbia.edu!spool.mu.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!uknet!pavo.csi.cam.ac.uk!pipex!demon!prism.demon.co.uk!david
  2. From: david@prism.demon.co.uk (David Metcalfe)
  3. Newsgroups: comp.os.linux
  4. Subject: man won't run as root
  5. Message-ID: <721867409snx@prism.demon.co.uk>
  6. Date: 15 Nov 92 15:43:29 GMT
  7. Sender: usenet@gate.demon.co.uk
  8. Reply-To: david@prism.demon.co.uk
  9. Organization: ** none **
  10. Lines: 23
  11. X-Mailer: cppnews $Revision: 1.20 $
  12.  
  13. I've had to rebuild by linux system recently because of a disk crash,
  14. and I can no longer get man to run if logged in as root.  If I am
  15. logged in as an ordinary user the man page is displayed correctly.
  16. However, if I am logged in as root, man creates the man page bu then
  17. doesn't display it.
  18.  
  19. man itself is setuid bin and the manpage directories man? and cat?
  20. are owned by bin.  Using man -d shows that man is executing the
  21. correct command, for instance
  22.  
  23. /bin/zcat /usr/man/cat1/man.1.Z | /usr/bin/less -sC
  24.  
  25. Any ideas why this command might work for an ordinary user, but not
  26. for root?
  27.  
  28. David
  29.  
  30. -----------------------------------------------------
  31. David Metcalfe          david@prism.demon.co.uk     
  32. London, England         dmetcalf@cix.compulink.co.uk
  33.      
  34.                        
  35.             
  36.