# urbestack-login-refuse

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-login-refuse --address ADDRESS
```

## Description

Refuses logins from the IP address given by --address, even with a correct password. The refusal lasts for the time set by security.flag_time, which defaults to 900 seconds. If the IP address already has a flag, a new manual flag replaces it and the duration starts over.

Loopback IP addresses are exempt. If the IP address is covered by the Allow list, remove the matching entry before setting the flag.

## Same in the API

- [POST /security/flags](https://urbestack.com/docs/api/post-security-flags.md): Refuse sign-ins from an IP address

## Command family: login

- [urbestack-login-flag-list](https://urbestack.com/docs/commands/urbestack-login-flag-list.md): Lists login flags newest first and reports the current login policy thresholds.
- [urbestack-login-second-factor](https://urbestack.com/docs/commands/urbestack-login-second-factor.md): Verifies the second factor for a login and opens a session when the code is accepted.
- [urbestack-login-unflag](https://urbestack.com/docs/commands/urbestack-login-unflag.md): Lifts the active login flag for the IP address given by --address so it can try to log in again immediately.
