[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: User is not in the sudoers file



On Mon, May 08, 2023 at 05:08:44PM -0600, Charles Curley wrote:
> On Mon, 8 May 2023 17:27:24 +0200
> <tomas@tuxteam.de> wrote:
> 
> >  (2) add your user to the sudo group. I'd prefer (2).
> 
> usermod -a -G sudo <user>
> 
> I'm lazy. I have that in a script.

Wanna be lazier?  In Debian, you can do it this way:

    adduser <user> sudo


Reply to: