add the following text
root ALL=(ALL:ALL) ALL
#under this line-----
newusername ALL=(ALL:ALL) ALL
Debian 11.5
create another file under /etc/sudoers.d/
vi /etc/sudoers.d/mysudoers
add the following text
hubert ALL=(ALL:ALL) ALL
Life is an unceasing struggle, work hard when young and never be idle.
# -*- coding: utf-8 -*- """ Created on Sun Apr 12 15:16:50 2020 @author: Hubert """ import pygame init = pygame.init() screen = pygame.display.set_mode((400,300)) title = pygame.display.set_caption('PyGame Demo') ''' -----------------------------------------------------------------------''' run = True while run: for event in pygame.event.get(): if event.type == pygame.QUIT: run = False print(event) '''--------------------------------------------------------------------''' update = pygame.display.update() ''' -----------------------------------------------------------------------''' close = pygame.quit()