Hacker News new | comments | show | ask | jobs | submit login

You're absolutely right. Thanks for catching that!

In certain cases you may not even need to visudo :) AFAIK, Ubuntu's default /etc/sudoers contains this :

%admin ALL=(ALL) ALL

So you just need to make sure your 'deploy' user account belongs to the admin group and you're good to go.

Applications are open for YC Summer 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact