Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jane on March 24, 2003, 10:33:14 PM

Title: group joined via batch script
Post by: jane on March 24, 2003, 10:33:14 PM
Hi everybuddy,

I'm adding users through the batch script and just now I've create a new group. Do you know how do I join them to the group i've created via this batch script?
Title: Re: group joined via batch script
Post by: Abe Loveless on March 26, 2003, 12:24:59 AM
Do you already have all the users created?

I assume you'd rather create the user and add to the group all at once... but it sounds like now you just need to add the users to a group.
Title: Re: group joined via batch script
Post by: jane on March 27, 2003, 10:03:23 AM
I meant I want the creation of the accounts will automatically join to the group I assign. All this must be done in the batch script.
Title: Re: group joined via batch script
Post by: Abe Loveless on March 27, 2003, 11:13:40 PM
Check this out:

http://tech-geeks.org/contrib/loveless/batch_users/

Should do what you want.  Let me know if it needs something different.

Be sure to get the 0.5 version, and take a look at the README.
Title: Re: group joined via batch script
Post by: jane on March 28, 2003, 10:22:32 AM
Hey thanks!

You make this script:-) I will try and see how it works. If I'm stuck in somewhere, I'll revert to you.

Thanks Abe Loveless.