[SOLVED] Can't add user with script otrs.AddCustomerUser.pl

Moderator: crythias

Post Reply
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

[SOLVED] Can't add user with script otrs.AddCustomerUser.pl

Post by tommat »

I'm trygin to add user from command line:

Code: Select all

$ ./otrs.AddCustomerUser.pl -f Tom -l Mat -p rand0m -e tommat@otrs.com  

otrs.AddCustomerUser.pl [-f firstname] [-l lastname] [-p password] [-g groupname] [-e email] [-c CustomerID] username
if you define -g with a valid group name then the user will be added that group
What Am I doing wrong ?
Last edited by tommat on 07 Aug 2015, 15:54, edited 1 time in total.
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

Re: Can't add user with script otrs.AddCustomerUser.pl

Post by tommat »

Ok, I found this viewtopic.php?f=62&t=12410&p=56324&hili ... .pl#p56367
Did the code:

Code: Select all

Bob    Jones   bobjones@mailinator.com    bobjones    Pass111   bin/otrs.AddCustomerUser.pl -f Bob -l Jones -p Pass111 -e bobjones@mailinator.com bobjones
John   Smith   johnsmith@mailinator.com   johnsmith   Pass222   bin/otrs.AddCustomerUser.pl -f John -l Smith -p Pass222 -e johnsmith@mailinator.com johnsmith
and it works.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [SOLVED] Can't add user with script otrs.AddCustomerUser.pl

Post by crythias »

the part you missed was the username.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply