Deleting a user and adding him again with same login
I wanted to delete user alan and add him again.
This was because I had messed up some of the settings on user alan and thought it easier to start again.
I wanted to then re-create alan because, it being my name I have a sentimental attachment to that login.
I was aware that /home/alan would not be deleted so I moved it elsewhere.
The only problem I then noticed on my new user alan ws that starting kde gave an error
/tmp/mcop-alan Permission denied.
It seems that the old /tmp/mcop-alan remained with the old owner number of 1004
I sorted this out by changing the permissions.
--------------------------------
My questions are:
What is /tmp/mcop-alan?
Since it is in /tmp would it be safe to just delete it?
Is the failure of the system to delete it when alan was removed a bug?
There is another file tmp/orbit-alan with the old ownership. Does this need to be dealt with?
Are there any other issues of recreating the user that I need to be aware of.
Thanks
Alan
|