Koozali.org: home of the SME Server

group joined via batch script

jane

group joined via batch script
« 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?

Abe Loveless

Re: group joined via batch script
« Reply #1 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.

jane

Re: group joined via batch script
« Reply #2 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.

Abe Loveless

Re: group joined via batch script
« Reply #3 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.

jane

Re: group joined via batch script
« Reply #4 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.