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
cookie(TheCookie) -> true
TheCookie = Cookie | [Cookie]Cookie = cookie()
TheCookie =
The cookie can also be specified as a list with a single atom element.
Use
erlang:set_cookie(node(),
in ERTS instead.
is_auth(Node) -> yes | no
Node = node()
Returns yes if communication with is
authorized. Notice that a connection to
is 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(
instead.
Node = node()Cookie =cookie()
Equivalent to
node_cookie(Node, Cookie).
node_cookie(Node, Cookie) -> yes | no
Node = node()Cookie = cookie()
Sets the magic cookie of to
and verifies the status of the authorization.
Equivalent to calling
erlang:set_cookie(, followed by
auth:is_auth(.