Sign in with
Sign up | Sign in
Your question

Help with logging into Ubuntu 9

Last response: in Linux/Free BSD
Share
May 9, 2009 5:46:44 PM

I messed around with the file permissions (don't ask why) and now I cannot log in. Before I wipe it and start again I wonder if anyone can help.

I can log in but I do not log into the orginal installation (called gig-ubuntu) but colci@localhost.

I was getting originally getting some error messages which I have fixed by changing the permissions, namely:-
users $home /,dmrc file is being ignored etc. and
must be setuid root

Now whenver I try and do anything I get a message
"not allowed to access system configuration"

I cannot access my network and hence the internet

Is there a way to reset ubuntu and put it back to how it was beofe I started messing around?
Thanks

More about : logging ubuntu

May 9, 2009 6:54:20 PM

Can you give us some more info?

If only your home dir got messed up you can make a backup copy and then delete it and re-create it. The GUI config files should be re-created the next time you log in so your user account should go back to defaults.

If your permissions on your entire disk got mangled it could be a much bigger problem and will probably be harder to fix, in that case it may be better to backup any files you need and re-install.

Ubuntu has a janitor cleanup program, I'm not sure if that would help.

If you're familiar with the terminal you can chmod the files to the correct permissions and that should take care of the problem.

Good luck :) 
May 9, 2009 8:21:58 PM

Thanks.

I am not sure what info I can usefully give - if you would like me to post some log files etc. I would happily do so, if you let me know what to post. I have tried the janitor, which shoudl got rid of some depositaries and I have already chmodded and chgrouped as much as I can - I had to do it in the recovery panel to get pas the first error messages. Now I get no more error messages but cannot log in to the orginal instalation and get logged in to this localhost thing which has no network connection.
May 10, 2009 4:21:43 AM

In that case a re-install might be easier.

Since you don't have a working network connection you can't ssh or apt-get to fix it, at least not easily.

You can use the live CD and a USB stick or external drive to backup you data and then re-install.

Good luck :) 
!