This is, of course, assuming you can't already just use "su -" to become root temporarily (meaning you do not know your root pword).
Main Topics
Browse All TopicsHi,
I think I screwed my Ubuntu 9.0.4 installation.
I was working on installing davfs2, because I wanted to mount WebDAV locations. Which is something that as a end user of Ubuntu I should have probably stayed the hell away of. Don't think it is suitable for end users. Things got nasty very quickly.
The thing with davfs2 is that you can only mount as root, which makes it useless for end users. Now the makers of davfs2 have come up with a 'user friendly' solution in the form of 'sudo dpkg-reconfigure davfs2'. This is were things get nasty because this particular utility doesn't do anything. The message stays the same 'mount: only root can do that'. At this point we start consulting Dr. Google for answers.
I found some article that mentions a davfs2 group, a group the user needs to be a part of. So I created this group using System > Adminstration > Users and Group and added myself to this group.
I thought this all went well but when I tried to use sudo command Ubuntu replied my user was no longer part of the sudoers list.
My question: am I right in thinking that at this point I need to reinstall Ubuntu? I mean, I don't think there is any way that I can make user part of the sudoers list again? I will need to issue some sudo command to do that right? And I can't anymore, right?
Thanks and Regards,
Onno
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: scifikillrPosted on 2009-11-02 at 14:19:57ID: 25724413
You will need physical access to the machine, but it is possible to regain your desired level of access without a reinstallation of Ubuntu.
over-root- password-s ingle-user - mode-and- grub
Please see: http://www.debuntu.org/rec