Skip to content

"I'm afraid I can't do that" error message is unclear #1659

Description

@Maltz42

When a user is not in the sudoers group, the error message displayed is:

sudo: I'm sorry [user]. I'm afraid I can't do that.

Now, I appreciate a HAL 9000 reference as much as anyone, but an error message isn't really the place for that - it should tell the user as much as possible about what is wrong and why. The normal sudo error message is much more helpful:

[user] is not in the sudoers file.

Activity

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

    C-cliCLI interfaceenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions