[Mailman-Users] Change moderator or admin password (random) different for each list they were an admin or moderator for - Mailman 2.1

2021-03-04 Thread Daniel Botting
Hi, I have been using the withlist command to delete a given administrator or moderator from all mailman 2.1 lists. I also require to change the moderator or admin password for all lists that they have been removed from, but have it so that it is a different randomly generated password for e

[Mailman-Users] Re: Change moderator or admin password (random) different for each list they were an admin or moderator for - Mailman 2.1

2021-03-08 Thread Daniel Botting
On 08/03/2021 17:17, Daniel Botting wrote: Hi, First of all thank you to both on this thread, appreciated and the applause :) I have updated the function as below: I run - withlist --all --run list_mod.change_moderator_password2 first.lastn...@domain.co.uk Function: def

[Mailman-Users] Re: Change moderator or admin password (random) different for each list they were an admin or moderator for - Mailman 2.1

2021-03-10 Thread Daniel Botting
;%s not found in %s moderator' % (moderator, mlist.real_name)) except subprocess.CalledProcessError as e: print("password not changed for %s: %s\n%s" % (mlist.real_name, moderator, e.output