I was just about to write back that I managed to get my problem solved by slightly modifying the existing otrs.SetPassword.pl.
Your version is cleaner than mine though so I won't post my version. Thanks! On Mon, Mar 4, 2013 at 3:44 PM, Michiel Beijen <[email protected]>wrote: > Hi Bogdan, > > There is currently no such script in the framework. But I wrote this > script a while ago, feel free to use it: > > https://gist.github.com/mbeijen/5082292 > > it works very similar to the current script for agents. The only > difference is if you do not provide a password on the command line, it will > generate one for you. > > In your case you'd need to get a list of customers out of the system and > execute this script for every customer, using bash. > > HTH, > > Mike > > > On Mon, Mar 4, 2013 at 12:38 PM, Bogdan Iosif <[email protected]>wrote: > >> Hi, >> >> I need to perform a mass reset of all customer passwords, for security >> reasons (hundreds of accounts). >> >> Is there a shell script I can call to reset the password for each >> customer account? Can it be done directly from the database, without using >> Perl / OTRS framework? >> >> Thanks, >> Bogdan >> >> P.S:I thought this was the purpose of the otrs.SetPassword.pl script but >> it seems it only works for agent accounts. >> >> --------------------------------------------------------------------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
