Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Bill Shaw on May 29, 2002, 07:11:48 PM

Title: Adding User user-deleted account
Post by: Bill Shaw on May 29, 2002, 07:11:48 PM
I am having a problem adding a user.  All other users accounts are fine, but this one locks up for some reason.  I try to add the account and it says.  " 'username' is a user-deleted account."  So I went into the /etc/passwd, /etc/shadow, and e-smith/accounts files and deleted all lines with that username.  then tried again.  It adds the account.  then i try to reset password.  it says "failed to set Unix password for account 'username' "

Then I can try removing the account from the web interface.  it says "error occurred while deleting user."  I don't know what happened to this account.

any suggestions would be great.
thanks
Title: Re: Adding User user-deleted account
Post by: nef kho on May 14, 2003, 07:12:34 AM
hi,

i have encountered the same problem, here is what i did to sovle it:

go to "home/e-smith"  and locate the "accounts" then delete the user. you can now create a user again.
Title: Re: Adding User user-deleted account
Post by: Terry on May 14, 2003, 07:16:18 AM
Or you can do it the proper way:

# /sbin/e-smith/db accounts delete xyz

where xyz is the user-deleted account

nef kho wrote:
>
> hi,
>
> i have encountered the same problem, here is what i did to
> sovle it:
>
> go to "home/e-smith"  and locate the "accounts" then delete
> the user. you can now create a user again.