Use sudo which works with www-data /usr/sbin/nologin shell