I'm running an Ubuntu 12.04 LTS partition and I've recently have had issues logging in.
From the GUI login screen, when I enter my username and password, it takes me right back to the login screen. This is different from when I enter my username and password incorrectly.
So I entered alt+ctrl+F1 to access the terminal and I signed in. It then reads:
-bash: /etc/profile Permission denied
From what I've tested, the only commands that I can run from terminal are basic terminal commands like ls and pwd. I tried changing my access to
sudo chmod 755 /etc
I get the errors:
sudo: unable to open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
If I run it without sudo I get a permission denied. If someone knows how to get around this issue that would be great