Ask a Question related to Ruby, Design and Development.
-
Andrew Walrond #1
Supplementary groups
Is there a function for setting supllementary groups? I don't see a method
documented in Process.
I want the equivalent of man (2) setgroups:
- Function: int setgroups (size_t COUNT, gid_t *GROUPS)
This function sets the process's supplementary group IDs. It can
only be called from privileged processes. The COUNT argument
specifies the number of group IDs in the array GROUPS.
Andrew Walrond Guest
-
how to browse in sub groups
I've to assign a texture to a sub element (3dworld/badge_shockwave/texture). how to get that shader? I tried with: ... -
I'm still confused by the difference between Global Groups and Domain Local Groups
Experts, I'm still confused by the difference between Global Groups and Domain Local Groups. I mean, they seem to me to accomplish the very same... -
Getting AD Groups
Hi Gurus, I seek you expert advice on the following scenario:- Environment: Windows 2003, IIS6, Windows Integrated Authentication, .Net... -
Specify more than 1 supplementary group for a user ??
Whenever I do: usermod -G groupname username ..... any existing supplementary group of username, as shown from /etc/group, gets removed and... -
Adding user with supplementary groups within jumpstart installation
Hello, When I am jumpstarting my servers (Solaris 9) I am adding system administrators account at the end of the finish script, for that I use... -
Lyle Johnson #2
Re: Supplementary groups
Andrew Walrond wrote:
Don't believe it was there for Ruby 1.6, but in Ruby 1.8 it's just:> Is there a function for setting supllementary groups? I don't see a method
> documented in Process.
>
> I want the equivalent of man (2) setgroups:
>
> - Function: int setgroups (size_t COUNT, gid_t *GROUPS)
> This function sets the process's supplementary group IDs. It can
> only be called from privileged processes. The COUNT argument
> specifies the number of group IDs in the array GROUPS.
Process.groups = [gid1, gid2, ...]
where the gidx values are either group numbers or names.
Hope this helps,
Lyle
Lyle Johnson Guest



Reply With Quote

