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

Inject /etc/passwd and friends instead of .scubainit #24

Merged
merged 5 commits into from
Jan 8, 2016

Commits on Jan 8, 2016

  1. Configuration menu
    Copy the full SHA
    8be6194 View commit details
    Browse the repository at this point in the history
  2. inject /etc/passwd and friends instead of .scubainit

    This is to avoid the fact that .scubainit uses `su -c` to run the user
    command as scubauser, but now it is no longer PID 1.
    
    This fixes #22.
    JonathonReinhart committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    ce402b1 View commit details
    Browse the repository at this point in the history
  3. inject /etc/shadow

    This adds a proper /etc/shadow entry as well, fixing the
    "Authentication error\n(ignored)" from su.
    
    This fixes #21.
    JonathonReinhart committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    f444d4b View commit details
    Browse the repository at this point in the history
  4. remove obsolete code

    - `shell_quote` was only used for generating .scubainit
    - `get_image_command` was only needed because we were launching
      .scubainit instead of the usercmd
    - `get_umask` was used to set the umask in .scubainit, which is
      unfortunately not possible now
    JonathonReinhart committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    d9151fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c7f3c0 View commit details
    Browse the repository at this point in the history