newpass

Purpose

Creates or changes user passwords for the device.

In Digi devices with a single-user model, changing the root user password also changes the password for Advanced Digi Discovery Protocol (ADDP). In Digi devices with the multi-user model, changing the root user password has no effect on ADDP. To change the ADDP password, specify name=addp.

Required permissions

For Digi products with two or more users, permissions must be set to set permissions newpass=rw-self for a user to set their own password, and set permissions newpass=rw to set another user’s password. See set permissions for details on setting user permissions for commands.

Syntax

newpass [id=number|name=string]

Options

id=number

Specifies the ID of the user to be acted on.

name=string

Specifies the name of the user to be acted on.

Example

The newpass command initiates a dialog that changes the user’s password.

User changing their own password

#> newpass

Changing another user’s password

#> newpass name=jdoe

See also