Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: samshen on September 07, 2005, 02:21:21 AM

Title: recreat deleted user name. help......
Post by: samshen on September 07, 2005, 02:21:21 AM
Hi, Can anyone help me.
I try to creat a deleted user name. and I got "Error:  
the  account  "dianne" can't be created because there is already a user-deleted"

How can I recreat that user back...

Please help....
Title: Re: recreat deleted user name. help......
Post by: CharlieBrady on September 07, 2005, 03:01:54 AM
Quote from: "samshen"
Hi, Can anyone help me.
I try to creat a deleted user name. and I got "Error:  
the  account  "dianne" can't be created because there is already a user-deleted"

How can I recreat that user back...

Please help....


You need to find out why the deletion of the user "dianne" failed mid-way through. Search through your /var/log/messages.* files for "|Status|".
Title: recreat deleted user name. help......
Post by: samshen on September 07, 2005, 04:59:49 AM
I did use the control pannel and deleted the user "dianne" a while ago.

but now I want to creat that name. I searched /var/log/messages. I don't how to look it.


-rw-------    1 root     root       403069 Jul 29 01:12 messages.20050722011206
-rw-------    1 root     root       403854 Aug  1 01:12 messages.20050729011206
-rw-------    1 root     root       901428 Aug  8 01:12 messages.20050801011206
-rw-------    1 root     root      1184529 Aug 15 01:12 messages.20050808011206
-rw-------    1 root     root      1411346 Aug 22 01:12 messages.20050815011209
-rw-------    1 root     root      1159503 Aug 29 01:12 messages.20050822011206
-rw-------    1 root     root       925772 Sep  1 01:12 messages.20050829011206
-rw-------    1 root     root      1942376 Sep  7 12:36 messages.20050901011206

any suggestion....


Thanks.
Title: recreat deleted user name. help......
Post by: samshen on September 07, 2005, 05:38:03 AM
thanks.

I fixed.
Title: recreat deleted user name. help......
Post by: CharlieBrady on September 07, 2005, 04:09:03 PM
Quote from: "samshen"
thanks.

I fixed.


What was wrong and how did you fix it? If you post that information here, you might be able to help somebody else.

To answer your earlier question, you use the "view log files" panel in the manager to view log files.
Title: recreat deleted user name. help......
Post by: Carl50mq on September 11, 2005, 12:02:00 PM
To delete correctly a user account, you must do a:
/sbin/e-smith/db accounts delete ACCOUNT

Now, you can recreate th same user account...

Carl
Martinique