I've lost sudo access and I don't really understand why

Tom H tomh0665 at gmail.com
Wed Mar 18 23:10:33 UTC 2020


On Wed, Mar 18, 2020 at 11:17 PM Wynona Stacy Lockwood
<stacy at guppylog.com> wrote:
> On Wed, Mar 18, 2020, 17:00 Colin Law <clanlaw at gmail.com> wrote:
>> On Wed, 18 Mar 2020 at 21:56, David Fletcher <dave at thefletchers.net> wrote:
>>>
>>> Never been able to understand what is wrong with simply using a
>>> text editor (I use joe) on /etc/group ?
>>
>> You can't if you have lost sudo access.
>
> A: Security
>
> B: You can:
>
> $: su -
> #: EDITOR=joe visudo
>
> That will call visudo with the editor set to joe. I do the same, but use nano instead.

"su -" can be used if "root" has a password.




More information about the ubuntu-users mailing list