I change the SSH credential over the netconf by using tailf-aaa actions. But old sessions are still alive.
It means the user who logged in via an old password can still use confd until session timeout. How can i force to close all active session after changing SSH credential.
Basically, you’re saying that "get all user session-id with this command “maapi_get_user_sessions()” then, kill all users’ sessions one by one.
pseudo-code like this:
for (userSessionID : maapi_get_user_sessions())
maapi_kill_user_session(userSessionID)
I guess there is no way to kill all sessions at one time or
no way to kill all sessions by calling built-in confd RPC actions, right?
Btw, in here session means that SSH session ? I want to just close all SSH sessions.