Settings

Theme

Ask HN: Root login/Ansible best practices?

1 points by rijncur 10 years ago · 0 comments · 1 min read


Hi HN,

I've been developing a few server deployment playbooks with Ansible lately, but the playbooks use the root user by default. I've always felt that root logins are "dangerous" and should be avoided so I have a "bootstrap" playbook to create a different privileged (but non-root) user and disable root login. All subsequent playbooks can then use the non-privileged user.

I was wondering what best practices are in this regard, with root login and automated deployment/configuration management tools. It'll be interesting to hear your thoughts! Thanks.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection