LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new user account (https://www.linuxquestions.org/questions/linux-newbie-8/new-user-account-533226/)

soldan 02-28-2007 06:08 AM

new user account
 
hello, ive been logging into my linux system as root and i realise the dangers of this, so i would like to now create a new user account (which i know how to do), and transfer roots home folder with all the program configuration files i have been using, to the new account, but i wonder if this is safe?. if it is safe, how would i change the permissions for the whole folder and its contents from root to the new user account?

Mega Man X 02-28-2007 06:55 AM

I think it should work, but I would start fresh if I was you.

1 - cd to your /root and do a "ls -a" there. This will show you all your hidden folders/files. Linux usually uses hidden files (starting with a ".") to store configuration files.

2 - once you decided which files are important to "transfer" to your new account, use the cp command. I assume you are familiar with it.

3 - last, change the owner for all your home files. example: "chown -R soldan /home/soldan/*.". This assumes that your new user is called soldan. The "-R" flag will make sure that all directories and subdirectories are also changed.

I hope this helps.

Regards!

soldan 02-28-2007 01:11 PM

Mega, i think i may just copy over the fluxbox configuration files, and start fresh with everything else. thanks for your help :)


All times are GMT -5. The time now is 08:40 AM.