Xref: utzoo comp.emacs:5892 gnu.emacs:744 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!labrea!polya!wolvesden!gangolli From: gangolli@wolvesden.Stanford.EDU (Anil R. Gangolli) Newsgroups: comp.emacs,gnu.emacs Subject: Re: load won't display in Gnu Emacs Keywords: gnu, emacs, display-time Message-ID: <8637@polya.Stanford.EDU> Date: 20 Apr 89 21:07:33 GMT References: <24241@beta.lanl.gov> Sender: USENET News System Reply-To: gangolli@wolvesden.Stanford.EDU (Anil R. Gangolli) Followup-To: comp.emacs Distribution: na Organization: Stanford University Lines: 24 In article <24241@beta.lanl.gov> dd@beta.lanl.gov (Dan Davison) writes: >I tried this once before and didn't get an answer, so here goes again. > >We have Gnu 18.53 under SOS (Sun OS) 4.0.1. When users invoke >display-time, the modeline says "time and load" briefly, then displays >only the time. If the superuser runs Gnu it *does* display the time >and load. > >What's wrong? Is there something obvious I've missed? In the emacs etc library, the program loadst that gets the load info for display-time needs to have access to kernel memory (/dev/kmem). To give it this access: 1) become superuser 2) use chgrp to put loadst in the group kmem (this should be the group to which the file /dev/kmem belongs). 3) Then do "chmod g+s loadst". This says, when loadst runs, it will run with the access priveleges of its group, which you've just set to be kmem. Now things should work for non-superusers too. --anil.