News for hackers. Stuff that matters.
Re:Nginx for Developers: An Introduction by gvb on Wednesday June 19, 2013 @03:42PM (#5907719)
Nice. One step I would add is after restarting ssh and before rebooting while still logged in as root is to start a second ssh session, log in as the new user, and verify you can sudo.

Your current instructions are predicated on success. By verifying your new user login and sudo capability before logging out as root (rebooting), you can fix typos or other Bad Things. Not that I would ever make a typo while editing sudoers. ;-)

There are no comments on this comment yet.