Web lists-archives.com

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




On Thu 04 Apr 2019 at 18:42:19 +0100, Thomas Pircher wrote:

> Brian wrote:
> > On Thu 04 Apr 2019 at 12:54:52 -0400, rhkramer@xxxxxxxxx wrote:
> > 
> > > (On Wheezy) I've been trying to add myself to the sudo group with the usermod 
> > > command.
> > 
> > vigr is your friend.
> 
> I don't think this will fix OP's problem.

Really? vigr cannot be used to add a user to a group? From the manual:

 > vipw, vigr - edit the password, group, shadow-password
 > or shadow-group file
> 
> rhkramer, you don't need to reboot your machine, but you need to
> re-login in order to start a session with your new set of groups.

rhkramer is an experienced user; he knows logging out and logging in
again is necessary.