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

nixos/users-groups: check format of passwd entries #119944

Merged
merged 1 commit into from Apr 22, 2021

Commits on Apr 20, 2021

  1. nixos/users-groups: check format of passwd entries

    Things will get quite broken if an /etc/passwd entry contains a
    colon (which terminates a field), or a newline (which terminates a
    record).  I know because I just accidentally made a user whose home
    directory path contained a newline!
    
    So let's make sure that can't happen.
    alyssais committed Apr 20, 2021
    Copy the full SHA
    0535a63 View commit details
    Browse the repository at this point in the history