PDA

View Full Version : [ubuntu] Profile is Corrupt



9a8sy
January 16th, 2010, 11:35 PM
A few days ago the network I was on when down and my laptop locked up. I ended up powering down my PC. When I rebooted and signed into my profile, it would only come up with the background wallpaper, no icons or menu. I can log into a different profile just fine. I did a forced disk check but that didn't solve my problem. Is there anyway to repair my profile? If not, can I take ownership of my folders under my corrupt profile?

9a8sy
January 19th, 2010, 12:51 PM
So nobody here can help? Does anyone know of another "Good" forum on Linux where I might be able to find someone who could help in this situation?

nothingspecial
January 19th, 2010, 01:07 PM
This is very simple to fix - do not worry.

You need to boot into recovery mode - a root shell.

Then
adduser bob


adduser bob admin


cp -rv /home/oldusername /home/bob/ to copy all the files in your corrupt home directory to bob`s home directory. Or


mv /home/oldusername /home/bob to move them, which will be alot quicker but make it more difficult to fix your corrupt account


chown -R bob:bob /home/bob/oldusername


exit


Log in as bob and all your files will be in bob`s home directory in a folder called your old username.

Obviously change bob for whatever you like.

9a8sy
January 20th, 2010, 03:00 AM
Just what I needed. Thanks!!