Koozali.org: home of the SME Server

User creating failed

Offline JensK

  • **
  • 21
  • +0/-0
    • http://www.kjellerup-hansen.dk
User creating failed
« on: August 06, 2005, 10:29:54 AM »
Hi
I am having trouble recreating a user account after it have been deletes. I have searched the Forums for postings with "user delete account......".

I have tried the /sbin/e-smith/db accounts delete "username" with no luck. I stil can't get to create the user.

I can se that the neither the username (mkh) nor the account number (5010) does exist in the files /home/e-smith/accounts
/etc/passwd
/etc/passwd
The homedir of the user does not exist as well

I am running e-smith 6.0.1-01
Any help would be appreciated.
Thanks JensK
......

Offline JensK

  • **
  • 21
  • +0/-0
    • http://www.kjellerup-hansen.dk
User creating failed
« Reply #1 on: August 06, 2005, 10:42:30 AM »
After further pooking around I found the solution.

The user still existed in the /etc/group file.

When i deletes that entry manually I could recreate the user.

Funny though that the /sbin/e-smith/db accounts delete command didn't work

Conclussion is that if you can't recreate a user and the /sbin/e-smith/db accounts delete [accountname] doesn't work you have to delete the account manually in the following files:
/etc/passwd
/etc/group
/home/e-smith/accounts
JensK
......