Koozali.org: home of the SME Server

SME 6.0 Restore from Tape + re-adding users.

Simon

SME 6.0 Restore from Tape + re-adding users.
« on: March 04, 2004, 09:29:22 AM »
Hi all

My client had a hard drive failure.  I have reloaded the server with a fresh install - and then did a Restore from Tape.  The restore ran smoothly - all the data appears to be intact.  Except that the ownerships on the majority of the folder are now admin:admin instead of user:user. I have chowned all the important ones but I am still having problems with mail delivery.
Decided to remove and add the users again but after backing up their data and removing their accounts the server tells me:

 "Error: the account "username" can't be created because there is already a user-deleted account of that name."

Any suggestions?

Thanks
Simon

Anonymous

SME 6.0 Restore from Tape + re-adding users.
« Reply #1 on: March 04, 2004, 12:39:17 PM »
Search forums on user-deleted account and you will find the answer. The secret is to search first

Ray

Offline bjoyce

  • *
  • 72
  • +0/-0
SME 6.0 Restore from Tape + re-adding users.
« Reply #2 on: March 02, 2005, 11:18:23 PM »
May be I'm dumb but a search on "user-deleted" only brought up this forum entry plus a few others:

http://forums.contribs.org/index.php?topic=25871.msg105208#msg105208

http://forums.contribs.org/index.php?topic=25871.msg105208#msg105208

I have the same problem with an account I removed and tried to add again and this

Error: the account "whatshisface" can't be created because there is already a user-deleted account of that name.

came up.  
 :-(
.........

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
SME 6.0 Restore from Tape + re-adding users.
« Reply #3 on: March 03, 2005, 12:36:33 AM »
try:
/sbin/e-smith/db accounts delete username
where username is the name of the deleted user

PS: clicking "show all results" located towards the bottom of the result page is the real secret...
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline bjoyce

  • *
  • 72
  • +0/-0
SME 6.0 Restore from Tape + re-adding users.
« Reply #4 on: March 03, 2005, 01:13:14 AM »
Thanks for the search tip :oops:
.........