home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10773 < prev    next >
Encoding:
Text File  |  1992-12-30  |  961 b   |  34 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!pacbell.com!UB.com!quack!dfox
  3. From: dfox@quack.sac.ca.us (David Fox)
  4. Subject: recompiled ps exits with /dev/mem permission denied message
  5. Message-ID: <fXiP7x7@quack.sac.ca.us>
  6. Keywords: ps, permissions, /dev/mem
  7. Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
  8. Date: 30 Dec 1992 21:03:57 UTC
  9. Lines: 23
  10.  
  11.  
  12. Hi *.
  13.  
  14. I've noticed something strange.  After putting in a Cyrix NDP, and
  15. recompiling ps and libutil.a (installing the patch for ps), ps
  16. dies when I'm not logged in as root with
  17.  
  18. ps: kvm_openfiles: can't open /dev/mem: permission denied
  19.  
  20. The permissions on ps are:
  21.  
  22. -rwxr-xr-x ps
  23.  
  24. And the permissions on /dev/mem:
  25. crw-r----
  26.  
  27. I haven't changed permissions on /dev/mem, and ps has worked in the past
  28. for non-root users.
  29.  
  30. Also, why is it that when I issue ps -aux, the RSS is always 0?
  31. --
  32. David Fox
  33. dfox@quack.sac.ca.us
  34.