Quantcast
Channel: Does www-data user need a real shell? - Server Fault
Viewing all articles
Browse latest Browse all 2

Does www-data user need a real shell?

$
0
0

Interestingly enough, on my Ubuntu derivative with nginx installed with apt, the www-data user has a shell:

$ cat /etc/passwdwww-data:x:33:33:www-data:/var/www:/bin/sh

Shouldn't this be set to something like /bin/false? Even though the user can't log in, isn't it dangerous to provide a shell for a system user like this by default?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images