Hi,
I'm trying to run a command as the www-data user, but I'm having issues finding the corresponding password for this user account.
It isn't the root password I set, nor the default 'dietpi' password. I also tried leaving it blank, that didn't work either.
Could someone please tell me where I can find the default www-data password?
Kind regards.
www-data password?
Re: www-data password?
Hi,Frk wrote:Hi,
I'm trying to run a command as the www-data user, but I'm having issues finding the corresponding password for this user account.
It isn't the root password I set, nor the default 'dietpi' password. I also tried leaving it blank, that didn't work either.
Could someone please tell me where I can find the default www-data password?
Kind regards.
www-data has no password in DietPi. Its a limited account that doesn't allow for login as that user.
To launch a program as www-data, try:
Code: Select all
sudo -u www-data /this/is/my/program.sh
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.