Well, I don't know exactly how it happened. But, thing is if I issue a command which I need root priviliges an error message comes that says
<user> does not have an entry in sudoers file
I used to work in terminal after issuing sudo bash
Sometime back I installed postgresql using apt-get. It does not start as it takes some temporary (or any other, I'm not sure) as /var/run which postgres user did not have permissions. Well, simply I could have changed that dir to /tmp (which ultimately I did), but before that I played with the things. One of them (I don't remember why) was
I tried to add a <user> to postgres group.
Well, that day things went well, but next day (I think after a restart)
that <user> could not execute commands with sudo.
Now, I need to install dblink for postgres which I believe needs sudo permissions.
Is there anyway to restore sudo permissions to that <user>
Or atleast, is there anyway to install dblink for postgresql without needing sudo thing??