Skip to content

Instantly share code, notes, and snippets.

@blizzz
Created February 18, 2021 18:00
Show Gist options
  • Save blizzz/d02343607f80e7671d5daed25c4416b5 to your computer and use it in GitHub Desktop.
Save blizzz/d02343607f80e7671d5daed25c4416b5 to your computer and use it in GitHub Desktop.
Batch create groups in samba4
#!/bin/bash
for i in {1..200}
do
#echo "samba-tool group add 'Osmium ${i}'"
samba-tool group add "Osmium ${i}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment