[erlang-questions] Stand alone erlang deployment

Ulf Wiger <>
Fri Nov 13 09:52:36 CET 2009


Jose Castro wrote:
> 
> The issue now is security, with reltool everything works fine, but
> even on a simple hello world, the reltool deployment allows me to run
> from the erlang shell something like: os:cmd("whatever!!").
> 
> Is there a way to inhibit this behaviour?

You /can/ limit what the user can do in the shell.

See the 'shell' man page and scroll down to 'Restricted shell'.

BR,
Ulf W
-- 
Ulf Wiger
CTO, Erlang Training & Consulting Ltd
http://www.erlang-consulting.com


More information about the erlang-questions mailing list