# add user to sudo group
sudo usermod -aG sudo username
# If it doesnt work user must be add to the allowed sudo file
sudo EDITOR=vim visudo@includedir /etc/sudoers.d<your_user_name> ALL=(ALL) NOPASSWD:ALL
No comments:
Post a Comment