Can any of your users run sudo
successfully? You'll need to log in as one of them, then run the sudo adduser username sudo
for the username's you want to be able to run sudo.
Or, if none of your users can run sudo, you could boot into "Recovery mode" from grub (hold shift while booting, if your grub menu doesn't show up automatically, or adding single
to the linux ... initrd ... quiet splash
line), then:
mount -o rw,remount / adduser username sudo
Running adduser
for each user you want to be able to sudo. Then exit
& resume. [From instructions linkd at the bottom of your help link, http://www.psychocats.net/ubuntu/fixsudo ]
There are other solutions if you can't get to Recovery mode, maybe with a live dvd & creative mounting & chroot, or editing files by hand. And if your sudoers files (/etc/sudoers*
) are messed up that's something else that can be fixed from the psychocats.net link too. Like editing your hard drive's /etc/sudoers
file to include a line that lets fsolano use sudo, like:
fsolano ALL=(ALL:ALL) ALL