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

Add check to prevent the Parsec service from running as root #219

Merged
merged 1 commit into from
Aug 18, 2020

Commits on Aug 13, 2020

  1. Add check to prevent the Parsec service from running as root

    This commit introduces a guard at the top of `main` to ensure that
    Parsec is not being run as root. Disallowing the Parsec service from
    running as root reduces attack surface in line with the principle of
    least privilege.
    
    This behaviour can be overridden by setting the `PARSEC_ALLOW_ROOT`
    environment variable.
    
    Signed-off-by: Joe Ellis <joe.ellis@arm.com>
    Joe Ellis committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    b65cdd5 View commit details
    Browse the repository at this point in the history