News for hackers. Stuff that matters.
Re:Quickstart tutorial on how to deploy an API on Amazon EC2 by code_chimp on Friday February 01, 2013 @11:21AM (#5151608)
I don't know about this part:

After executing this step you are connected to your instance. We will have to install new packages. Some of them require root credentials, so you will have to set a new root password: sudo passwd root. Then login as root: su root.

Wouldn't using the "sudo su" command be a better approach? Granted I am only a developer not a sysadmin, but I thought the whole point of Ubuntu's sudo setup was to not have a usable root login.

Re:Quickstart tutorial on how to deploy an API on Amazon EC2 by rwhitnah on Friday February 01, 2013 @11:46AM (#5151793)
Yeah, it's pretty common practice to disable the root account from SSH access/never log in as root.

Linode has a pretty good getting-started guide for basic Ubuntu VPS security: http://library.linode.com/securing-your-server

Re:Quickstart tutorial on how to deploy an API on Amazon EC2 by WestCoastJustin on Friday February 01, 2013 @01:02PM (#5152265)
Not really right or wrong in my opinion. That is the thing with Unix-like OS's. There are many ways to skin a cat. I prefer -- 'sudo su - root'.
Re:Quickstart tutorial on how to deploy an API on Amazon EC2 by mryan on Friday February 01, 2013 @12:40PM (#5152130)
Yes, it would. Also, "sudo -s".