[erlang-questions] Different uids for ports

Kresten Krab Thorup krab@REDACTED
Tue Jul 13 16:18:38 CEST 2010


It would seem reasanble to try opening a port with "sudo -u UID <command>"; modulo whatever rights you need to be able to sudo.

Kresten


On Jul 13, 2010, at 15:12 , Musumeci, Antonio S wrote:

> Has anyone ever needed to spawn ports as different UIDs? The port API doesn't provide for it. Is the only way to acheive something like that is to use cnodes?
> 
> Thanks.
> 
> --------------------------------------------------------------------------
> NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.

Kresten Krab Thorup, CTO, Trifork



More information about the erlang-questions mailing list