[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] localhost, clamd, rights
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