Skip to content

usermod --add-subuids needs to read /etc/shadow? #1540

@jcpunk

Description

@jcpunk

When I run usermod with all capabilities dropped and have no access to /etc/shadow, usermod fails complaining that it can't read /etc/shadow.

I don't think it should need access for sub{u,g}id processing?

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