Skip to content

Expired accounts can login using netconf  #267

@DineshReddyK

Description

@DineshReddyK

Hi,

netconf password based authentication works even for expired accounts.
Is this expected and ignored?

Here test007 is expired already.

[root@k8s-1 /]# date
Tue Nov  3 10:48:05 UTC 2020

[root@k8s-1 /]# chage -l test007
Last password change                                    : Nov 03, 2020
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : Nov 02, 2020
Minimum number of days between password change          : -1
Maximum number of days between password change          : -1
Number of days of warning before password expires       : -1

netopeper2-cli still able to successfully authenticate.

[root@k8s-1 /]# netopeer2-cli
> connect --login test007
Interactive SSH Authentication
Type your password:
Password:
> status
Current NETCONF session:
  ID          : 5
  Host        : 127.0.0.1
  Port        : 830
  Transport   : SSH
  Capabilities:
        urn:ietf:params:netconf:base:1.0

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