Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use the root for a period of times,Now,I log on the normal user I created before,which environment is not as same as root. Are there people know how to copy the all of data in root to normal user below /home(entire cover)?

share|improve this question
    
By root do you mean / or /root? –  pram Apr 27 at 3:56
    
I always log on root which means user name.maybe is /root?? (My english is not well,sorry) –  Super丨Tin Apr 27 at 4:01

1 Answer 1

If your new user is a sudoer, just use

sudo cp -R /root ~

then change the owner of the newly copied files to your new user (change 'username' to your actual user accordingly)

sudo chown -R username:username ~/root
share|improve this answer
    
Thank you very much –  Super丨Tin Apr 27 at 4:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.