rymngh wrote:
hardening linux by james turnbull
That book is 7 years out of date, isn't it?
A lot of things differ between Linux distributions, so you should take any tutorial/book that isn't specific to your distribution with a grain of salt. For example, in Ubuntu, nginx is installed with "www-data" user and group by default. You don't need to do anything extra to assign it to its own user and group, because Ubuntu has already done it for you. Similarly, you just need to install the "sudo" package, and a recommended version of the sudoers file will be automatically installed. (Why else do you think people like Ubuntu so much? It makes life easier for sysadmins.)
The Linode Library contains many articles that are tailored for Ubuntu. These will usually work much better than anything generic that you find on Google. For example,
here is the nginx guide for Ubuntu 11.10. Skip the section about compiling from source, since it is optional.
Also, OS templates from Linode usually don't include unnecessary packages.