In tutorial of azure iot edge, there's a sample said that user is able to command "sudo" in Bash, however the other tutorial said that "Permissions are set as regular users without sudo access".
enter image description hereenter image description here
Also when I followed the tutorial command in azure bash(sudo), it didn't work, so I'm wondering if I've missed something?
By the way, the tutorials are all from the Microsoft.
This is mainly because you were running on a Debian system, which does not come with the sudo command to add it use the following steps:
su -
apt-get install sudo -y
After that you would need to play around with users and permissions. Give sudo right to your own user.
usermod -aG sudo yourusername
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With