Skip to content

Drop unnecessary privileges after startup #113

@paul-chambers

Description

@paul-chambers

If started by root, nzbget continues to run with elevated privileges unless a less privileged user is created and the configuration file is updated to use it.

This is highly undesirable for any software with network-facing interfaces, particularly software that downloads and processes files of unknown trustworthiness.

nzbget should drop any unnecessary privileges as soon as it is practical, and certainly before it starts processing external network traffic.

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