Koozali.org: home of the SME Server

Error creating new user

Offline Gaetan

  • ****
  • 104
  • +0/-0
Error creating new user
« on: November 25, 2014, 11:51:00 AM »
Hi,
I am trying to add a new user (previously deleted!) and get the following error:
"The account 'vanessa' can't be created because there is already a system account of that name."

I have tried the following but still get the same issue.

signal-event user-delete vanessa
db accounts delete vanessa


My SME version is up to date.
Thanks for your help.

guest22

Re: Error creating new user
« Reply #1 on: November 25, 2014, 12:50:26 PM »

Offline Gaetan

  • ****
  • 104
  • +0/-0
Re: Error creating new user
« Reply #2 on: November 25, 2014, 01:08:50 PM »
Ok, thanks.

the problem is now resolved.

I did the following:

grep vanessa /etc/passwd /etc/group /home/e-smith/db/accounts

=> /etc/group:vanessa:x:5068:

For some reason, when deleting this account from the web interface the group ref. for this user account was not properly delete from the file /etc/group.

After making a backup of the file /etc/group, I did:
nano /etc/group

and removed the entry for this account.

I was then able to create a new account for 'vanessa'.

***** The problem remains when I delete an account and try to re-create it. ******
**** The only way - at the moment - is to remove the entry from /etc/group before re-creating it ****

I have 3 SME servers running the up to date Version 8.1 ... and only one server is behaving this way.

What could cause this ?


guest22

Re: Error creating new user
« Reply #3 on: November 25, 2014, 01:11:51 PM »
A bug report would appreciated so devs can take a look at it.

Offline Gaetan

  • ****
  • 104
  • +0/-0
Re: Error creating new user
« Reply #4 on: November 25, 2014, 01:20:08 PM »