For your security, the Dataplicity client uses an unprivileged service account. If you want to use 'sudo' from the Dataplicity terminal, for example to allow you to install programmes or manage your device, you must first switch to a more privileged user account and enter the password for that account.
On a Pi, the default 'pi' account is suitable. To switch to the 'pi' user, generally indicated by the
[email protected] / $ prompt, just type:
You will be asked to enter the 'pi' account password which, unless you have changed it, is
From there you can 'sudo' as normal:
sudo cat /etc/shadow
Updated 10 months ago