auth
(kernel)Erlang Network Authentication Server
This module is deprecated. For a description of the Magic Cookie system, refer to Distributed Erlang in the Erlang Reference Manual.
Functions
is_auth/1
Returns yes if communication with is
authorized. Note that a connection to will
be established in this case. Returns no if
does not exist or communication is not authorized (it has
another cookie than auth thinks it has).
Use net_adm:ping(
cookie/0
Use erlang:get_cookie() instead.
cookie/1
TheCookie =
The cookie may also be given as a list with a single atom element.
Use
erlang:set_cookie(node(),
node_cookie([Node, Cookie]) -> yes | no
Node = node()Cookie = cookie()
Equivalent to node_cookie(Node, Cookie).
node_cookie/2
Sets the magic cookie of to , and
verifies the status of the authorization.
Equivalent to calling
erlang:set_cookie(