[erlang-questions] Avoid ~/.erlang.cookie creation

Dmytro Lytovchenko dmytro.lytovchenko@REDACTED
Fri May 19 11:24:13 CEST 2017


Right, i always confuse -setcookie and -cookie
Not the nicest user experience with replacing a name with a similar name,
and no actual error when the wrong one is used

2017-05-19 11:18 GMT+02:00 Salikhov Dinislam <
Dinislam.Salikhov@REDACTED>:

> > The correct command line argument is -cookie, single minus
> > -setcookie is deprecated
>
> http://erlang.org/doc/man/erl.html says that *-cookie* is "obsolete flag
> without any effect".
>
> > Also you have a typo in it — -setcoo
>
> *ke *Ah, you're right. My bad. Thank you.
>
> On 05/19/2017 12:13 PM, Dmytro Lytovchenko wrote:
>
> The correct command line argument is -cookie, single minus
> -setcookie is deprecated
> Also you have a typo in it — -setcoo*ke*
>
> 2017-05-19 11:06 GMT+02:00 Salikhov Dinislam <Dinislam.Salikhov@REDACTED
> com>:
>
>> Hello,
>>
>> Is there a way to prevent erl from creating $HOME/.erlang.cookie?
>> I run it as follows:
>>     erl -sname test_name -setcooke placeholder_cookie
>> And VM creates ~/.erlang.cookie with some random content.
>>
>> --
>> Dinislam Salikhov | Senior Developer | Kaspersky Lab
>> 39A/2 Leningradskoe shosse, Moscow, 125212, Russia | www.kaspersky.com
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
> --
> Dinislam Salikhov | Senior Developer | Kaspersky Lab
> 39A/2 Leningradskoe shosse, Moscow, 125212, Russia | www.kaspersky.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170519/848fa87f/attachment.htm>


More information about the erlang-questions mailing list