Hi everyone,
I've got a little problem while managing users' permissions in my computer.
I decided to give sudoer permissions to my user for /media/ directory, So I had to enter as a sudoer:
Code:
sudo su
chmod +w /etc/sudoers
After that I closed the root session and then tried to access /media/mydisk/ -> result: denied.
The issue comes now: when I tried to access /media/mydisk/ in sudo mode, I got the following message:
Code:
sudo: /etc/sudoers is mode 0640, should be 0440
Great !! :-( , the only solution that came to my mind is to enter as su and change the /etc/sudoers file's permissions, but:
and ...
Code:
Password:
su: Authentication failure
Sorry.
My sudo pass is the same as my user pass, but the su has another, I can't remember entering a different pass for 'su', so maybe I'm in a trouble.
What do u think!!
I will really appreciate any help.
Thanks.