Unable to use sudo
Distro : Ubundo 10.10 using 8GB USB Persistence
I tried installing Elegant GNOME theme pack, for that I used following command
_______
sudo add-apt-repository ppa:elegant-
_______
It ran for a lot of time, after that exited with error code 1
After restarting the system, I tried to continue with the next step which involved using sudo.
I got following message
_______
sudo: /etc/sudoers is not a regular file
sudo: no valid sudoers sources found, quitting
_______
browsed the /etc directory using Terminal. Somehow the sudoers file is now a directory and also the sudoers.d which is supposed to be a file.
I tried to visudo using recovery console but it won't allow me to create a new sudoers file.
Kindly let me know if any more details are needed.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu sudo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- bhushi
- Solved:
- Last query:
- Last reply: