Web lists-archives.com

Re: Wheezy: adding myself to the sudo group using usermod




	Hi.

On Thu, Apr 04, 2019 at 12:54:52PM -0400, rhkramer@xxxxxxxxx wrote:
> (On Wheezy) I've been trying to add myself to the sudo group with the usermod 
> command.
> 
> As root, I've tried most of the permutations of this:
> 
> usermod -a -G sudo <username>
> 
> None of them have worked -- any suggestions?

adduser <username> sudo

It's Debian-specific, but saves one the confusion.
Don't forget to relogin after adduser.

Reco