[erlang-questions] Using a different cookie path

Lionel Cons <>
Wed Jun 29 13:04:04 CEST 2011


I would like to control which cookie Erlang will use. In my
environment, it's not practical to let Erlang use ~/.erlang.cookie.

I've found the -setcookie option for erl but this takes the cookie
itself, not a file path. This is insecure since any user could list
the Unix processes and see the cookie on the command line.

Is there a way to tell Erlang to get its cookie from a file other than
~/.erlang.cookie?

Thanks in adavnce for your advices,

Lionel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110629/feb74930/attachment.html>


More information about the erlang-questions mailing list