Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-28-2007, 07:08 AM   #1
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

Rep: Reputation: 15
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?
Old 02-28-2007, 07:55 AM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
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.


Last edited by Mega Man X; 02-28-2007 at 07:58 AM.
Old 02-28-2007, 02:11 PM   #3
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 11:52 PM
Prevent user account from logging in but allow su to account DejaCpp Linux - General 4 07-26-2006 12:44 PM
User Account to Access Another Account benfaust Linux - General 2 06-28-2006 01:26 PM
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 08:49 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 11:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration