TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Root login/Ansible best practices?

1 pointsby rijncurover 8 years ago
Hi HN,<p>I&#x27;ve been developing a few server deployment playbooks with Ansible lately, but the playbooks use the root user by default. I&#x27;ve always felt that root logins are &quot;dangerous&quot; and should be avoided so I have a &quot;bootstrap&quot; playbook to create a different privileged (but non-root) user and disable root login. All subsequent playbooks can then use the non-privileged user.<p>I was wondering what best practices are in this regard, with root login and automated deployment&#x2F;configuration management tools. It&#x27;ll be interesting to hear your thoughts! Thanks.

no comments

no comments