Skip to content

Allow for commands to be run in user mode (not enabled) #254

Open

Description

@aecro

Hey,

a lot of commands don't need to be run in exec mode/enabled and I like to run my scripts with the least permissions possible. This is especially useful for testing as I don't have a dedicated testing environment and would like to avoid running harmful commands by accident.

I would love to see another method for Commando like rundisabled() which executes the command without enabling after connect.

Activity

  1. jathanism commented on Mar 3, 2016

    @jathanism
    Member

    Thanks for the request! We've had a few related to non-enabled/read-only support on Cisco-like devices. This is definitely something we will be tackling soon. :)

  2. coxley commented on Mar 8, 2016

    @coxley
    Contributor

    Maybe a kwarg to the normal method to keep the same interface and allow to conditionally supplement value. I'm not a huge fan of conditional method names because it's not something you can variable-ize without doing eval. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions