On 02/09/2016 08:29 AM, Ranjan Maitra wrote:
On Tue, 9 Feb 2016 08:19:24 -0600 SternData
<subscribed-lists(a)sterndata.com> wrote:
> On 02/09/2016 07:52 AM, Ranjan Maitra wrote:
>> Hello,
>>
>> I have a strange issue: my machine was updated via cron last noght. I rebooted
this morning and several attempts, including rebooting into the older kernel do not seem
to work in granting me sudo access.
>>
>> ~$ sudo dnf update
>> [sudo] password for maitra:
>> maitra is not in the sudoers file. This incident will be reported.
>>
>> The password is correct because otherwise I would get the notificaiton that it is
not so so that is not the issue.
>>
>> Short of reinstalling, how do I get around this? Note that I do not have root
account, so I am not sure about what to do.
>>
>> Many thanks and best wishes,
>> Ranjan
>>
>
> The error explains it:
>
> maitra is not in the sudoers file. This incident will be reported.
It does?
> run visudo
>
> is "wheel" enabled for sudo and is maitra in the wheel group?
But I seem to have lost sudo privileges after the update. How do I run visudo without
being a superuser? I do not appear to have access to /etc/sudoers as a result.
Ranjan
You'll need to find that scrap of paper on which you wrote the password
for "root" and put away someplace safe. :-)
--
-- Steve