Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for user passwords that cannot be used to login #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

floatingstatic
Copy link

This is a similar patch to what was submitted to pyeapi: arista-eosplus/pyeapi#227

Modern versions of EOS allow one to specify a password that cannot be used to login which is useful for exclusive ssh-key auth:

vEOS(config)#username testuser secret ?
  *       Specify a password that cannot be used to login
  0       Specify an UNENCRYPTED password will follow
  5       Specify an ENCRYPTED MD5 password will follow
  LINE    The UNENCRYPTED (cleartext) password
  sha512  Specifies an ENCRYPTED SHA512 password will follow

Currently goeapi has no support for this. This change implements support for a nologin encryption type to support setting this feature via the api and to keep parity with changes accepted in pyeapi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant