Re: Wheezy: adding myself to the sudo group using usermod
- Date: Thu, 4 Apr 2019 20:47:42 +0300
- From: Reco <recoverym4n@xxxxxxxxxxxx>
- Subject: Re: Wheezy: adding myself to the sudo group using usermod
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
> 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.