how to create the same user account using the same directory? after deleting it.

Asked by vijay

i created a user account named guest(/home/guest). and deleted it .Again i created a user account named guest(the same user name) it asks me to change the directory name (i change it into /home/Guest,and this user name works).but what i want to is the same direcory for the existing user.or how to use same directory .

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
vijay
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

rename the standing /home/guest to something else, create the user, then delete the newly created /home/guest

you will then need to run:

sudo chown -R guest:guest /home/guest

to assign ownership of the folder to the new guest account (may have a different user number (likely))

Revision history for this message
vijay (mrvijay2005) said :
#2

 i am new one to the ubuntu .and also to computer. i will try this later .Thank you.

Revision history for this message
vijay (mrvijay2005) said :
#3

 i am new one to the ubuntu .and also to computer. i will try this later .Thank you.