Disabling multiple sessions for one user


If I have a user, for example “tesla”, the default shinyproxy behaviour is to allow tesla to login from many different PCs.

Is it possible to ensure that tesla is only able to be logged in from one location? I could envision the following scenario when a second person tried to login with the user tesla:

  1. It closes the first session (kicking off tesla there); or
  2. The second session gets an error “user already logged in somewhere else”.