Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Gaetan on November 25, 2014, 11:51:00 AM

Title: Error creating new user
Post by: Gaetan 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.
Title: Re: Error creating new user
Post by: guest22 on November 25, 2014, 12:50:26 PM
http://forums.contribs.org/index.php?topic=32869.0
Title: Re: Error creating new user
Post by: Gaetan 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 ?

Title: Re: Error creating new user
Post by: guest22 on November 25, 2014, 01:11:51 PM
A bug report would appreciated so devs can take a look at it.
Title: Re: Error creating new user
Post by: Gaetan on November 25, 2014, 01:20:08 PM
http://bugs.contribs.org/show_bug.cgi?id=8692