User Manager Shell Commands

There are two commands available in a shell (console or SSH) to interact with the User Manager:

usermgrwhoami

Prints information about the current user from the User Manager database.

usermgrpasswd

Allows admin or root to change the password for accounts in the User Manager database.

When run without any parameters, the script changes the password for the current user (admin).

Other parameters include:

-c, --check

Checks the password for the user to see if it matches known problematic values (e.g. the default value or the username).

-u <name>, --username <name>

Passes a specific username to use when checking or changing the password.

Note

Users other than admin and root cannot use this shell command because they do not have direct write access to the firewall configuration. Those users can visit the User Password Manager page to change their own password.