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

Tom H tomh0665 at gmail.com
Thu Mar 19 06:49:34 UTC 2020


On Thu, Mar 19, 2020 at 5:36 AM Karl Auer <kauer at biplane.com.au> wrote:
> On Thu, 2020-03-19 at 00:26 +0100, Tom H wrote:
>>
>> I hope that you use "vigr" (and "vipw" for "/etc/passwd").
>
> No I don't always, I regularly forget and just use vi. It's never
> been a problem. But using vigr and vipw is definitely best practice
> and to be recommended, so thanks for pointing it out.

You cannot edit "/etc/passwd" from two terminals when you run "vipw"
because of a lock file, whereas you can with "vi".




More information about the ubuntu-users mailing list