When I type:
> /tool user-manager user print where name=fred
I get:
0 subscriber=TestSub name="fred" password="fred" group-name="1M"
uptime-used=1h9m23s download-used=11733964 upload-used=1827814
last-seen=feb/12/2009 16:39:18 credit-count=1 credit-left=1m
credit-duration=1m credit-price=20 credit-time-added=1m
However, I am unable to change any of the credit details (e.g. to give credit to the user) and typing:
> /tool user-manager user export
gives:
.
.
add comment="" disabled=no group-name=1M name=fred password=fred subscriber=TestSub
.
.
Adding payments using
> /tool user-manager payment add subscriber=TestSub user=fred credit=Day
for example, doesn’t work (and, bizarrely, the price shows as ‘4294967295’).
So, the question is, how do I add a user from the command line and give them some credit.
All of this is possible from the user-manager web page, so surely it must be do-able from the command line?
Thanks,
Nick.