Apache was installed, www-data
is owner of /var/www/html/wp
.
I miss the key, and want to alter it now.
sudo cat /etc/shadow |grep www-data
www-data:*:17053:0:99999:7:::
To change it into www-data::17053:0:99999:7:::
and save it.
su www-data
Password:
To input enter, no character inputed.
su: Authentication failure
How to alter the password for www-data
user?
To change another user's password, use:
So:
Though I don't see why
www-data
should have a password.You can use
sudo
privileges tosu
to the userwww-data