Koozali.org: home of the SME Server

How can I re-add a user that was accidentally deleted?

Offline brucoder

  • *
  • 10
  • +0/-0
How can I re-add a user that was accidentally deleted?
« on: May 26, 2017, 07:05:40 PM »
I mistakenly deleted one of two similarly named accounts.  Now when I try to recreate that user, the system tells me "can't be created because there is already a user-deleted account of that name."

How can I clear that state so that I can re-add the user?

Thanks,
Tim

Offline brucoder

  • *
  • 10
  • +0/-0
Re: How can I re-add a user that was accidentally deleted (solved)?
« Reply #1 on: May 26, 2017, 07:33:15 PM »
Sorted it -

db accounts remove account_name