Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: JensK on August 06, 2005, 10:29:54 AM

Title: User creating failed
Post by: JensK 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
Title: User creating failed
Post by: JensK 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