2022/06/07

Enable sudoers on Debian 11

vi /etc/sudoers 
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

No comments:

Post a Comment