# urbestack-ftp-account-set

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

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

## Usage

```
urbestack-ftp-account-set --user CUSTOMER --name NAME@DOMAIN [--directory /dir] [--password-stdin]
```

## Description

Changes the password, directory or both for a customer's FTP account. Specify --password-stdin, --directory or both. Use --password-stdin to supply the new password on standard input. It must be 8 to 128 printable characters.

Give --directory a path as shown in the Files section. Use / for the customer's home directory. UrbeStack creates any missing directories with mode 0755 and gives the customer ownership. The FTP account is confined to the selected directory and its contents. ProFTPD applies the changes at the next login.

## Same in the API

- [PATCH /ftp/accounts/{name}](https://urbestack.com/docs/api/patch-ftp-accounts-name.md): Change an FTP account's password or directory

## Command family: ftp

- [urbestack-ftp-account-add](https://urbestack.com/docs/commands/urbestack-ftp-account-add.md): Creates an FTP account for the customer selected by --user.
- [urbestack-ftp-account-del](https://urbestack.com/docs/commands/urbestack-ftp-account-del.md): Deletes the FTP account identified by the full NAME@DOMAIN login in --name and owned by the customer in --user.
- [urbestack-ftp-account-list](https://urbestack.com/docs/commands/urbestack-ftp-account-list.md): Lists FTP accounts with their owners and directories.
- [urbestack-ftp-install](https://urbestack.com/docs/commands/urbestack-ftp-install.md): Installs and starts ProFTPD using UrbeStack's configuration.
