Get your free beta license ↗
CMDCommand · run as root on the server · user family

urbestack-user-set

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-user-set --name NAME [--password-stdin [--keep-token ID]] [--email ADDR|''] [--status active|suspended] [--role admin|user|reseller] [--package NAME|''] [--owner RESELLER|''] [--second-factor off] [--shell on|off] [--backups on|off]

Description

From the command's --help output
Updates an existing UrbeStack account. Specify the account with --name and supply at least one
change. Pass an empty string to --email to clear the email address or to --package to remove the
package and its limits. Changing an administrator's email address or moving an account into or
out of the administrator role updates where root's mail is delivered.

--password-stdin reads the new password from the first line of standard input. It must be 8 to
128 printable characters. For a customer, it also sets the password for SFTP and shell access. A
password change revokes every token for the account, including session tokens and manually
created tokens. When a user changes their own password, --keep-token ID keeps the session with
that token ID and preserves manually created tokens. All other sessions end.

--system-password-stdin sets only a customer's system password for SFTP and shell access. Supply
the current UrbeStack password on the first line of standard input. The API uses this option at
sign-in for customers whose passwords were set before UrbeStack stored system passwords.

--status suspended revokes every token for the account. For a customer, it also removes their
mailboxes from Dovecot's users file and their domains' senders from Postfix's tables. --status
active restores those mail entries. Accounts suspended for a server move must be reactivated
through the move commands. For a copy awaiting cutover, use the Move section or
urbestack-move-cutover --user NAME. To return a frozen account to service on the source server,
use urbestack-move-source-release --user NAME. Add --take-back if the account has already moved.

--second-factor off clears the account's second factor when a device is lost. The account holder
can enrol again from their account page in the web interface.

An administrator can give a customer a Bash shell with --shell on, which also removes the
customer's SFTP jail. --shell off restores jailed SFTP access and ends the customer's running
system sessions. Shell access requires a system account, which administrators lack.

--backups off excludes a customer from nightly server backups. Use it if their archive is too
large for the disk or they make their own backups. --backups on restores the default of
including the customer. Customers can still request backups. The setting applies to accounts
with a home directory.

--owner moves a customer to the specified reseller. Pass an empty string to move the customer to
the administrator. If the package belongs to the former reseller, change or clear it before or
as part of the move. A move to a reseller must fit that reseller's limits on customer count,
disk space and bandwidth. Increasing a customer's disk space or bandwidth allowance must also
fit the reseller's limits. A customer must be under the administrator to change roles. A
reseller must move all their customers before changing roles.

Options

Find other commands that accept these options

Same in the API

These operations run the command.

More in user

7 commands, by what they work onView all commands in this family →
urbestack-user-
urbestack-user-second-factor-
Generated from release 0.2.35 (current) · urbestack-user-set --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-user-set/