# su -l www-data ./http-app.py
This account is currently not available.
# su -l www-data -c ./http-app.py
This account is currently not available.
# su -c ./http-app.py www-data
This account is currently not available.
# su -lc ./http-app.py www-data
This account is currently not available.
# getent passwd www-data
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
# getent shadow www-data
www-data:*:16842:0:99999:7:::
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
Cosa c'è che non va nel mio suo www-data? Funzionava ...
Presumibilmente, ciò è dovuto al fatto /usr/sbin/nologin, ma come posso scegliere rootquesto script, senza compromettere altri servizi sul sistema ( nologinè stato scelto dal Debianteam per una buona ragione, voglio crederci)?
/bin/shvenga utilizzato per impostazione predefinita e devi specificare l'-sopzione solo se vuoi passare a/bin/basho simili.