Add/Remove Linux User to sudoers



CentOS/Fedora/RedHat

Add sudo privileges

usermod -a -G wheel LinuxUsername

remove

sudo deluser username wheel

Ubuntu/Debian

Add sudo privileges

usermod -a -G sudo LinuxUsername

remove

sudo deluser username sudo

Leave a Reply