User Tools

Site Tools


howto:specific:disable_accounts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto:specific:disable_accounts [2026/11/11 21:34] – created merlinhowto:specific:disable_accounts [2026/11/11 21:55] (current) – Add bit about stopping SSH key auth merlin
Line 15: Line 15:
     * The user will receive a generic ''Invalid username or password.'' error when logging in via keycloak OIDC or password SSH.     * The user will receive a generic ''Invalid username or password.'' error when logging in via keycloak OIDC or password SSH.
  
-This does not block authentication via SSH key, ie. ''~/.ssh/authorized_keys'' which should be handled separately.+This does not block authentication via SSH key, ie. ''~/.ssh/authorized_keys'' which should be handled separately. To do this, one could modify ''/etc/ssh/sshd_config'' on sandbox, adding the username to the ''DenyUsers'' section. For example:
  
 +  DenyUsers username1 username2 username3
howto/specific/disable_accounts.1794432891.txt.gz · Last modified: by merlin