I've lost sudo access and I don't really understand why
Chris Green
cl at isbd.net
Thu Mar 19 08:49:17 UTC 2020
On Thu, Mar 19, 2020 at 12:26:03AM +0100, Tom H wrote:
> On Wed, Mar 18, 2020 at 11:19 PM Karl Auer <kauer at biplane.com.au> wrote:
> > On Wed, 2020-03-18 at 21:28 +0000, Chris Green wrote:
> >>
> >> So (unless using the -a option) usermod removes group membership that
> >> isn't specifically stated. Surely there's an easier way to add
> >> oneself to an extra group.
> >
> > Personally I almost always modify /etc/groups directly (i.e., with a
> > text editor) unless the operation is scripted. It has never failed me
> > in well over 30 years of Unixing.
>
> I hope that you use "vigr" (and "vipw" for "/etc/passwd").
>
Only necessary on a multi-user system to prevent simultaneous edits of
the files, if there's just me/you then a straight edit is fine.
--
Chris Green
More information about the ubuntu-users
mailing list