Xymon Mailing List Archive search

localhost, clamd, rights

list Charles Goyard
Thu, 17 Aug 2006 11:40:20 +0200
Message-Id: <user-bf3bcdb90945@xymon.invalid>

John GALLET a écrit :
 
My kernel is patched with -grsec, which implies only root can access /proc
or see other user's processes in a "ps" command.
You can try running the commands in client/bin/hobbitclient-linux.sh
with sudo.

in /etc/sudoers, put :

hobbituser	ALL=(root) NOPASSWD: /bin/ps

and in client/bin/hobbitclient-linux.sh, replace

< ps -Aw -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd
sudo ps -Aw -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd

-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31