On Fri, 2008-10-31 at 17:29 -0600, Abhishek Kulkarni wrote: > xuserset and xgroupset now use the new libxcpu functions to do the user > and group operations respectively. > > i also added a -u option to xgroupset and xuserset. > this reads from the groupfile or passwd file and performs the operations > on all the groups and users. > > for instance, > > ./xgroupset add -a -u > > will add all the groups from /etc/group to all the nodes in the > cluster... > > ./xuserset del -a -u > > will delete all the users in /etc/passwd from the userpool on the > nodes... > > so on and so forth. > > this kinda makes "flush" operation redundant but some might prefer flush > over this.
although one notable difference is "flushing" the groups would automatically delete the users associated with them whereas ./xgroupset delete -a -u would refuse to delete a group if it has a user associated with it. and also flushing is much faster. it "cleans up a node" without having to restart xcpufs on the node. > > Signed-off-by: Abhishek Kulkarni <[EMAIL PROTECTED]>
