05-14-2018, 06:47 PM
You appear to be doing all this as root, you should be working in the pi home directory.
Log in as root & grant pi sudo rights (they need to be a member of the wheel group).
https://access.redhat.com/documentation/...02s03.html
Start at point 4.
This is obviously for redhat but every linux distro I have ever used uses visudo.
Once pi has sudo rights follow the instructions again.
Log in as root & grant pi sudo rights (they need to be a member of the wheel group).
https://access.redhat.com/documentation/...02s03.html
Start at point 4.
This is obviously for redhat but every linux distro I have ever used uses visudo.
Once pi has sudo rights follow the instructions again.