Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have run this command by mistake chmod -R 777 ./*
chmod -R 777 ./*
Now not able to use sudo and can't open folders as root.
sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Required, but never shown
4 months ago