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

Deprecate the environment variable USER for changing the user name of the RStudio user #490

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented Jun 19, 2022

Suggested by #489 (comment)

This process is buggy, so I think it make sense to remove it.
If we want to change the user name, just write a Dockerfile like this

FROM rocker/rstudio:4.2.0
ENV DEFAULT_USER=new_user
RUN usermod -l "$DEFAULT_USER" rstudio \
    && groupmod -n "$DEFAULT_USER" rstudio \
    && usermod -d /home/"$DEFAULT_USER" -m "$DEFAULT_USER"

@eitsupi eitsupi changed the title Deprecate the environment variable USER for changing the user name of the RStudio user Deprecate the environment variable USER for changing the user name of the RStudio user Jun 19, 2022
@eitsupi eitsupi added this to the R 4.2.1 milestone Jun 19, 2022
@eitsupi eitsupi merged commit 094a527 into rocker-org:master Jun 23, 2022
@eitsupi eitsupi deleted the do-not-rename-user branch June 23, 2022 12:13
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 this pull request may close these issues.

1 participant