Originally posted by littleg
I have made all the desktop settings that I prefer under the root profile. On advice I don't want to use root all the time, but I don't want to redo all the setting especially since I can't remember some things. (I have tried!)
It there an easy way to copile files from on directory to another to accomplish this.
Any help is appreciated!
May not be the wisest thing to do, but if you've got anything under /home/user
cp -a /home/user /home/user.bak
cp -a /root /home/user
chown -R user.users /home/user
Look over everything and make sure it's suitable - paths and whatnot - Joe User doesn't usually have /sbin on the path and so on. Maybe other issues. Once you're satisfied, you can 'rm -rf /home/user.bak'. Not sure how well it would work or (as I said) how wise it would be, but it *is* wise not run as root and it would save some effort.
If you want to be more selective, just copy specific files with globs and then recursively chown those all at once.