From: utzoo!decvax!harpo!utah-cs!lepreau Newsgroups: net.unix-wizards Title: Re: I felt slightly obnoxious, so.... Article-I.D.: utah-cs.1228 Posted: Sun Dec 12 11:17:40 1982 Received: Mon Dec 13 05:25:33 1982 References: sri-unix.4785 It was only a matter of time till one of these became widely available. Ok, so we finally must do what we should have long ago: protect mem/kmem & make all the mem pgms setgid or uid, and setgid is the better choice. I'll save some of the rest of you some work, as grepping over most all our binaries for mem/kmem came up with the following (on a 4.1a system). I should have checked for /dev/drum (swap) while I was there, but I forgot. Did I miss any (except for local hacks)? /usr/ucb/rstat /usr/ucb/trpt /usr/ucb/w (linked to /usr/ucb/uptime) /usr/ucb/vmstat /bin/ps /usr/bin/iostat /etc/dmesg /etc/pstat /usr/local/filepos /usr/local/gcore /usr/local/lib/emacs/loadst Don't need to be setgid: # /usr/local/setuid # /etc/renice # /etc/routed # /etc/savecore