Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Redundant usage of sudo in some docs #158

@muru

Description

@muru

The commands in the PostgreSQL guide are using sudo twice, unnecessarily, IMHO:

sudo sudo -u psql ...

Either:

  • The user has been limited to sudo -u psql * via sudo, in which they might as well be granted rights to run as psql in sudoers directly,
  • Or they can run pretty much anything since granting access to root's sudo via sudo is pointless as a restriction.

I think this is more of a typo or an oversight than anything else.

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