[hobbit] localhost, clamd, rights

Charles Goyard cgoyard at cvf.fr
Thu Aug 17 11:40:20 CEST 2006


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 - cgoyard at cvf.fr - (+33) 1 45 38 01 31



More information about the Xymon mailing list