www-data password?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Frk
Posts: 7
Joined: Mon Oct 24, 2016 1:50 am

www-data password?

Post by Frk »

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.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: www-data password?

Post by Fourdee »

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.
Hi,

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.
Post Reply