Greg Wooledge <wooledg@eeg.ccf.org> writes: Thu, Jul 25, 2019 at 11:48:46AM -0400, Gene Heskett wrote: >> root@coyote:~$ su www-data >> This account is currently not available. > > If you want a shell as a system account, use sudo instead. > > sudo -s -u www-data or set the shell using su: su -s /bin/bash -u www-data This behaviour is caused due to the shell in /etc/passwd: $ getent passwd www-data www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin Peter