[radium] permission denied when radium is running as non-root
Robin Gruyters
r.gruyters at yirdis.nl
Thu Jun 7 04:48:25 EDT 2007
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/20070607/000a6379/attachment.sig>
More information about the argus
mailing list