mv user01 files & preferences to user02-- quick how
I created a new user 'user02' and am going to delete the old one 'user01' because today when I tired to login on the login screen, I couldn't. The screen turned black, after pressing enter, but then after a while it didn't go to the desktop, instead it went back to the login screen. Good thing root still worked so I made user02.
Are there a few simple steps to move user01 files & preferences to user02? I can't find anything through google mainly b/c there aren't any key words or phrases. few simple steps... im new.. that means I don't know enough so don't assume I do |
'cp -a /home/user01 /home/user02' should do. If the problem is a configuration error, that will just recreate it, though, and if it was a system-wide configuration error, you're likely to encounter it as any user. Good luck, though.
Oh, duh - a 'chown -R user02 /home/user02' as root might help, too. |
hey you know any _detailed_ articles I can read as a guide? I'm having problems.
Is it just a one-step process? And the system automatically does the rest? b/c it doesn't seem like a one-step process... |
No, sorry, I don't know of any detailed articles, as it's not something that's done much, yet isn't especially complicated, AFAIK. What sort of problems are you having?
And I don't know what you mean by the last part. In answering 'Are there a few simple steps to move user01 files & preferences to user02?' I replied that the steps are to copy user01's files and dotfiles (files and preferences) to user02's $HOME. And then make sure they're all owned by user02 and then you should be done. But, as I say, just deleting and then essentially recreating the account isn't likely to fix problems with that account. Since you say it "didn't go" to the desktop, I'm guessing you use a display manager and the problem is probably with that. If you log in to text mode, your virtual console should work fine. You might even be able to 'startx' and have X work fine if it's exclusively a display manager problem and not a general X problem. Which goes back to why I was saying it isn't something that's done often - your user01 account is probably generally fine and you'd be better off fixing the glitch than blowing out the whole account. |
Well.. during the process it asked if I wanted to overwrite ... so I just pressed enter since it didn't ask for a letter like y or n or anything.
After pressing many enters, the outcome is that there is a /home/user02/user02 which appears to have the same files as in /home/user02/. Is that suppose to happen... The other thing is.. is it suppose to transfer the KDE preferences and other software preferences? like firefox's preferences.. b/c it appears like some of the KDE preferences were moved but some are missing.. "Since you say it "didn't go" to the desktop, I'm guessing you use a display manager and the problem is probably with that. If you log in to text mode, your virtual console should work fine." No, I'm able to log in now onto the KDE desktop. I never log into text mode b/c then I'm at a black screen, I guess a type of shell.. but I couldn't do anything like open firefox for example. "I'm guessing you use a display manager" I don't know what that is. I just know I use the KDE environment.. so you start the computer > login > now at desktop |
Quote:
Quote:
Quote:
As far as straightening out the bit of a mess user02's $HOME might be in, you could use 'diff' (or probably a KDE GUI version) to check on the consistency of the directories. The reason to do a copy rather than a move is in case something went wrong (which it sounds like it sort of did), so you can do a 'diff /home/user01/.kde /home/user02/.kde' (and then apparently, a 'diff /home/user02/.kde /home/user02/user02/.kde) and so on and delete the redundancies. Make sure nothing's missing like you mentioned it might be, though it shouldn't be. |
All times are GMT -5. The time now is 10:41 AM. |