I am developing client for RabbitMQ. Actually I am wrapping an
existing one. For testing purpose, I would like to start/stop server
as a regular user.
Is it possible to achieve this?
Any help is appreciated.
Thank you.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Yes. We internally develop Rabbit as normal users. Rabbit needs no
special permissions at all to run. All it needs is to be able to write
to its logs and mnesia and various other files. Due to tradition, under
most sensible platforms, this is installed as the "rabbitmq" user, which
is a perfectly normal (albeit daemon) user. However, if you're building
from source, then a make run from the rabbitmq-server directory will
suffice to start Rabbit up as yourself. You may or may not consider that
a security risk - up to you!
Matthew
Thanks. I've managed to build and run Rabbit from the source,
The only place, I was forced to modify Rabbit source, was
"rabbitmq-multi" file to change PIDS_FILE location:
sed -i "s%PIDS_FILE=/var/lib/rabbitmq/pids%PIDS_FILE=$SOME_DIR/var/lib/rabbitmq/pids%"
$SOME_DIR/bin/rabbitmq-multi
Other than that everything looks very nice.
Thank you.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________