Root user not in sudoers group WHAT HAVE I DONE?!!?
Richard S. Crawford
rscrawford at mossroot.com
Thu May 7 19:30:14 UTC 2009
I fixed this issue using the bootable CD which I happened to have
lying around. Next time this happens I'll be using single user mode.
On Thu, May 7, 2009 at 11:18 AM, Derek Broughton <derek at pointerstop.ca> wrote:
> Richard S. Crawford wrote:
>> I attempted to add my main user to another group using usermod.
>> Suddenly, I find that my root user no longer can access sudo. When I
>> $ sudo <anything>
>> I get:
>> deguser is not in the sudoers file. This incident will be reported.
>> And just to be clear, deguser is the account I've been using for all
>> sudo tasks until now. There is no other user with the appropriate
>> What have I done, and how do I fix it?
> To answer the first, I'd be reasonably sure you used -g rather than -G (or
> vice versa, I can never remember). One replaces _all_ groups with the
> argument, and the other appends the argument to the list of groups. I
> rather serious difference, which is why it pays to use KUser instead of
> To fix it, you'll have to reboot into single-user mode, and execute usermod
> directly from root - being sure to add deguser to the "admin" group.
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
Richard S. Crawford (rscrawford at mossroot.com)
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
More information about the kubuntu-users