Re: UNIX groups

2010-05-27 Thread Nakarin Phooripoom
I would follow to the first approach, getting to the forth column of the match lines then appending users from lists, like the following. body common control { bundlesequence => { "def","test" }; } bundle common def { vars: aix:: "groups" slist => { "unix","dba","support" }; "grp

Re: UNIX groups

2010-05-27 Thread Seva Gluschenko
Johan, it seems like you should add policy => overridable to the relevant variable in the append_user_field bundle. On the other hand, it seems like it worth of trying a different approach: vars: "grp[unix]" string => "unix:!:1000:"; "grp[dba]" string => "dba:!:1001:"; "grp[support]" string

UNIX groups

2010-05-27 Thread Johan Marcusson
Hello list, I'm new to CFengine, and I'm trying to set up synchronization of user accounts between some AIX-boxes. The user account part is working, but I'm having some issues with group memberships. I want to add some users to group "unix", some users to group "dba" and some users to group "su