home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!pacbell.com!UB.com!quack!dfox
- From: dfox@quack.sac.ca.us (David Fox)
- Subject: recompiled ps exits with /dev/mem permission denied message
- Message-ID: <fXiP7x7@quack.sac.ca.us>
- Keywords: ps, permissions, /dev/mem
- Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
- Date: 30 Dec 1992 21:03:57 UTC
- Lines: 23
-
-
- Hi *.
-
- I've noticed something strange. After putting in a Cyrix NDP, and
- recompiling ps and libutil.a (installing the patch for ps), ps
- dies when I'm not logged in as root with
-
- ps: kvm_openfiles: can't open /dev/mem: permission denied
-
- The permissions on ps are:
-
- -rwxr-xr-x ps
-
- And the permissions on /dev/mem:
- crw-r----
-
- I haven't changed permissions on /dev/mem, and ps has worked in the past
- for non-root users.
-
- Also, why is it that when I issue ps -aux, the RSS is always 0?
- --
- David Fox
- dfox@quack.sac.ca.us
-