Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ship a circleci system user #35

Closed
FelicianoTech opened this issue Dec 18, 2019 · 1 comment · Fixed by #38
Closed

Ship a circleci system user #35

FelicianoTech opened this issue Dec 18, 2019 · 1 comment · Fixed by #38

Comments

@FelicianoTech
Copy link
Contributor

The Next-Gen images were suppose to ship with just a root user. That was the plan.

The security gains by using a regular user with sudo access are irrelevant in the world of Docker because:

  1. With sudo they get root privileges anyway
  2. With passwordless sudo, there's no additional security of a password.

Due to legacy image migration concerns, having sudo around would be useful. I'm not sure if useful enough on its own, but there are CircleCI platform features that expect to see a circleci home directory.

With little negative affect to our images and lots of positive affect for migration, we should reintroduce the circleci user to images.

@eddiewebb
Copy link
Contributor

Other impact besides sudo is anyone caching directories in user's home are restored as an absolute path will all be misses when they move from /home/circleci to /root

Screen Shot 2019-12-18 at 4 13 56 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants