login redirects me back to login screen

Asked by Brian Marine

my login screen bounces back to itself, everything i tried (including chown -R $USER:$USER $HOME, though im not sure if i types it right, my username is nomad). if i try using sudo command i get
sudo: /usr/lib/sudo/sudoers.so must be only writable by owner
sudo: fatal error, unable to load plugins

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Brian Marine (crysisfreak7) said :
#1

before this happened i used sudo nautilus in a terminal and changed permissions in the / directory to transfer files, but then as soon as i closed it i check the permissions and they seemed the same as before.

Revision history for this message
titusxxx (timvankerckhoven) said :
#2

What is the outcom of this command?
ls -l /usr/lib/sudo/sudoers.so
When changing the permissions of the root directory I hope you have not changed the permissions of all sub directories because this would be a very bad thing.

Revision history for this message
Brian Marine (crysisfreak7) said :
#3

-rw-rw-rw- 1 root root 185200 FEB 27 2013 /usr/lib/sudo/sudoers.so

Revision history for this message
Brian Marine (crysisfreak7) said :
#4

incase it helps, i have a second partition with ubuntu in it too, so we could possibly use that for something we need to fix this.

Revision history for this message
Brian Marine (crysisfreak7) said :
#5

WAIT, the number is actuallt 185288, sorry

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#6

Hello,

open a terminal and try

    pkexec chmod 644 /usr/lib/sudo/sudoers.so

Then check the results of

    stat -c "%a,%n" /usr/lib/sudo/sudoers.so

Regards
 NikTh

Can you help with this problem?

Provide an answer of your own, or ask Brian Marine for more information if necessary.

To post a message you must log in.