If I'm a web server, for which accounts can I turn off shells within passwd file?

Posted by eric01 on Server Fault See other posts from Server Fault or by eric01
Published on 2012-09-19T02:01:59Z Indexed on 2012/09/19 3:40 UTC
Read the original article Hit count: 499

Filed under:
|
|

I am making a web server running LAMP and want to access it using SSH.

When I open the passwd file, I see all those accounts and I want to know for which ones I can put false. I have the following accounts:

root, daemon, bin, sys, sync, games, man, lp, mail, news, uucp, proxy, www-data
backup, list, irc, gnats, nobody, libuuid, syslog, messagebus, whoopsie, 
mandscape, sshd, eric

Except root, sshd and eric, which ones should I not disable? How about www-data and sshd?

Thanks a lot for your help.

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu