reset-pass

Resets the password for some or all users in some or all virtual servers This command can be used to mass update the passwords of all users in a virtual server, or just those matching some criteria. For example, to reset the password for all users in the domain example.com, run: virtualmin reset-pass --domain example.com To update the password for just the user joe in example.com, run: virtualmin reset-pass --domain example.com --user joe To update the password for all users in all domains, run:

Resets the password for some or all users in some or all virtual servers#

This command can be used to mass update the passwords of all users in a virtual server, or just those matching some criteria.

For example, to reset the password for all users in the domain example.com, run:

virtualmin reset-pass --domain example.com

To update the password for just the user joe in example.com, run:

virtualmin reset-pass --domain example.com --user joe

To update the password for all users in all domains, run:

virtualmin reset-pass --all-domains

To update the password for all users in all domains except the owners, run:

virtualmin reset-pass --all-domains --exclude-owner

All passwords will be set to a random value, unless the --pass flag is given, in which case the same password will be used for all users.

Command line help#

virtualmin reset-pass --all-domains | --domain name
 [--exclude-owner]
 [--user name]
 [--pass]

Source: https://www.virtualmin.com/docs/development/api-programs/reset-pass/

  • virtualmin, domain, user, update, command line, reset, pass
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...