[erlang-questions] capabilities

Serge Aleynikov <>
Tue Aug 12 12:30:34 CEST 2008

Thanks Bengt!  With your hint I found this link that provides a full answer:



Bengt Kleberg wrote:
> Greetings,
> AFAIK Solaris 10 has the concept of privileges, which sounds like Linux
> (and Posix.1e) capabilities (''real'' capabilities as found in operating
> systems literature are something different). Unfortunately I only have
> Solaris 9 and can not help further than that.
> bengt
>  On Mon, 2008-08-11 at 21:40 -0400, Serge Aleynikov wrote:
>> Sorry for polluting the list with a non-Erlang question, but since I 
>> know that there are a number of Solaris experts on the list, I though I 
>> could get an advice.
>> I may need to port my Erlang Linux-based C port program to Solaris, and 
>> the program takes advantage of Linux capabilities (*) CAP_SYS_NICE and 
>> CAP_SETUID.  Poking around man pages on Solaris didn't help in 
>> determining if Solaris has similar features (or if they can be 
>> accomplished by some different means).  Does anyone know if it's 
>> possible for a non-root user (after issuing a setuid() call) to retain 
>> ability to impersonate as a different effective user id or adjust 
>> process's niceness on the negative side?
>> Serge
>> (*) man 7 capabilities

More information about the erlang-questions mailing list