Www-data password

When creating the keyring with code below I need to fill in the password for www-data, but it has no password. What to do?

sudo su -s /bin/bash -c "gpg --list-keys" www-data
gpg: directory '/var/www/.gnupg' created
gpg: keybox '/var/www/.gnupg/pubring.kbx' created
gpg: /var/www/.gnupg/trustdb.gpg: trustdb created

Hello cireknilb,

to change the password of a user use:

sudo passwd <user>

in your case its:

sudo passwd www-data

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.