Skip to content

Set /nonexistent for "nobody"'s home and change login shell for "root" and "nobody" from /bin/bash to /sbin/nologin #337

Closed

Description

Activity

  1. changed the title [-]Change login shell for root and nobody to /bin/bash to /sbin/nologin[/-] [+]Change login shell for root and nobody from /bin/bash to /sbin/nologin[/+] on Mar 25, 2019
  2. chanseokoh commented on Mar 25, 2019

    @chanseokoh
    MemberAuthor

    And probably set the home of nobody to /nonexistent. Make sure to remove /nonexistent. It seems possible that the home directory is auto-created.

  3. chanseokoh commented on Mar 25, 2019

    @chanseokoh
    MemberAuthor

    Filed bazelbuild/rules_docker#757 (untested).

    UPDATE: bazelbuild/rules_docker#757 merged; we can set /nonexistent without creating it.

  4. changed the title [-]Change login shell for root and nobody from /bin/bash to /sbin/nologin[/-] [+]Set /nonexistent for "nobody"'s home and change login shell for "root" and "nobody" from /bin/bash to /sbin/nologin[/+] on Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions