0
votes
2answers
8k views

“no valid sudoers sources found, quitting” error while chmodding /var/www

I'm new to Ubuntu and just installed LAMP. I'm trying to paste files into the /var/www/ directory so i can test my PHP projects, but I can't. I have searched on the web and all I read is: "type sudo ...
0
votes
1answer
259 views

Messed up /usr/ directory in Ubuntu. Can't sudo!

In ubuntu 11.04 I seem to have messed up the permissions/ownership of the /usr/ directory. It won't let me sudo -s to fix them! sudo: must be setuid root and I can't login as root because I'm on ...
18
votes
4answers
4k views

sudo keeps asking me for my password in fish shell

sudo in Ubuntu keeps asking me for my password for every command. Previously, I only had to enter the password once, and then it would be remembered for a period of time. This recently changed, ...
1
vote
2answers
407 views

Can't sudo ruby gems binaries on Ubuntu 11

I am ruby1.8 user, as well as gem; it's library manager system. gem is able to install binaries, like rails and bundle. But I could not get access for this guys until I added this line to my .bashrc ...