Hey,
Is there a way to add expiry to a user account on Cisco 800 Router Series?
To be clear - you are asking about a user account configured on the 800 router and using local authentication rather than some authentication software (Radius or Tacacs or anything)?
I am not aware of any way to configure expiration of passwords for locally configured accounts on the 800 series router. If anyone in the community knows how to achieve this I would be very interested.
Yes, exaclty.
Local accounts no expiry as per i know, if it is external you can do.
Hello,
a possible workaround would be to use EEM scripts to add/delete users. In the scripts below, user 'admin' is delete every Monday thru Friday at 8PM, and added every Monday thru Friday at 7AM. I am not sure what exactly you want to accomplish, but you can tweak this and use it for whatever purpose:
event manager applet DELETE_USER
event timer cron cron-entry "0 20 * * * 1-5"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "no user admin privilege 15 password 0 cisco"
action 4.0 cli command "end"
!
event manager applet ADD_USER
event timer cron cron-entry "0 7 * * * 1-5"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "user admin privilege 15 password 0 cisco"
action 4.0 cli command "end"