I just solved this by reading Debian sudo page with two steps:
1) add the user to be sudo to the sudo group.
2) log out and log back in to gain that group's permissions.
Debian page said use: # adduser xsma sudo
, while I had used # vigr
and # vigr -s
.