On Wed, 26 Oct 2022 14:17:30 -0600, Grant Taylor wrote:

> On 10/26/22 2:08 PM, Neil Bothwick wrote:
> > So they have root access, nothing has changed. How they get root 
> > access is irrelevant, just that they have it.  
> 
> No, how they get root access is not irrelevant.
> 
> If your only access to root is via sudo and you break sudo you no
> longer have root access.
> 
> If you don't have root access through something other than sudo, you 
> can't fix your sudo (from your existing system).

They and you are different people. You are looking at it from the
perspective of a user accidentally locking themself out of the system, so
su is the best way to be able to fix it. I agree with you there. I was
looking at it from the perspective of a third party changing sudo right
without your consent. We were at cross purposes.


-- 
Neil Bothwick

"We can't solve problems by using the same kind of thinking we used when
we created them." (Albert Einstein)

Attachment: pgpsN2HbVhyI1.pgp
Description: OpenPGP digital signature

Reply via email to