[radium] permission denied when radium is running as non-root

Robin Gruyters r.gruyters at yirdis.nl
Wed Jun 27 04:19:06 EDT 2007


Hi ya,

I have tested it, and works perfectly. Thanks!

Regards,

Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119


Quoting Carter Bullard <carter at qosient.com>:

> Hey Robin,
> I put up new argus and client code sets, which fix this problem.
> There are man page fixes and some documentation updates,
> getting ready for release.
>
> Please give radium a test to see if it fixes your problems.
>
> Carter
>
>
>
> On Jun 7, 2007, at 4:48 AM, Robin Gruyters wrote:
>
>> Hello,
>>
>> I'm trying to run Radium under a non-root user and writing the   
>> output to a file.
>>
>> Just before the process get spawned to non-root user, it creates   
>> the file with root owner and stops. (due to permission denied)
>>
>> # ls -ld /nsm/argus
>> drwxr-x---  2 sguil  wheel  512 Jun  7 10:30 /nsm/argus
>> # ls -l /nsm/argus/test.argus
>> ls: /nsm/argus/test.argus: No such file or directory
>> # /usr/local/sbin/radium
>> Starting radium.
>> radium[51234]: 10:44:52.796318 started
>> # ps ax|grep radium | grep -v radium
>> #
>> # grep radium /var/log/all.log
>> Jun  7 10:44:31 nsm-01 radium[51219]: 10:44:31.013046   
>> ArgusInitOutput: open /nsm/argus/test.argus: Permission denied
>> Jun  7 10:44:31 nsm-01 radium[51219]: 10:44:31.012525 started
>> # ls -l /nsm/argus/test.argus
>> -rw-r--r--  1 root  wheel  0 Jun  7 10:44 /nsm/argus/test.argus
>> #
>>
>> Here is my test radium.conf file:
>> RADIUM_DAEMON=yes
>> #
>> RADIUM_MAR_STATUS_INTERVAL=60
>> #
>> RADIUM_ARGUS_SERVER=localhost:5611
>> RADIUM_ARGUS_SERVER=localhost:5612
>> #
>> RADIUM_OUTPUT_FILE=/nsm/argus/test.argus
>> #
>> RADIUM_SET_PID=yes
>> RADIUM_PID_PATH=/var/run/nsm
>> #
>> RADIUM_SETUSER_ID="sguil"
>> RADIUM_SETGROUP_ID="sguil"
>>
>> Kind regards,
>>
>> Robin Gruyters
>> Network and Security Engineer
>> Yirdis B.V.
>> I: http://yirdis.com
>> P: +31 (0)36 5300394
>> F: +31 (0)36 5489119
>>
>>
>>
>>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: PGP Digital Signature
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20070627/d01f86ba/attachment.sig>


More information about the argus mailing list