01-03-2022 11:44 PM
Hey,
Is there a way to add expiry to a user account on Cisco 800 Router Series?
01-03-2022 11:56 PM
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.
01-03-2022 11:58 PM
Yes, exaclty.
01-04-2022 09:29 AM
Local accounts no expiry as per i know, if it is external you can do.
01-04-2022 01:07 PM
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"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide