create-protected-user

Add a user to some protected directory This command adds a user to a protected directory, identified by the --domain and --path flags. The login for the new user must be set with --user, and the initial password with the --pass flag (or --encpass if you have a pre-hashed password in the right format). To create a user that is initially blocked from logging in, use the --disabled flag. Command line help virtualmin create-protected-user --domain name --path directory --user username [--pass password | --encpass hash] [--enabled | --disabled]

Add a user to some protected directory#

This command adds a user to a protected directory, identified by the --domain and --path flags. The login for the new user must be set with --user, and the initial password with the --pass flag (or --encpass if you have a pre-hashed password in the right format). To create a user that is initially blocked from logging in, use the --disabled flag.

Command line help#

virtualmin create-protected-user --domain name
 --path directory
 --user username
 [--pass password | --encpass hash]
 [--enabled | --disabled]

Source: https://www.virtualmin.com/docs/development/api-programs/create-protected-user/

  • virtualmin, domain, user, log, command line, create, protected
  • 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...