| SYSTEM INFORMATION |
|
| OS type and version |
Rocky Linux 9.4 |
| Webmin version |
2.111 |
| Usermin version |
2.010 |
| Virtualmin version |
7.10.0 Pro |
| Theme version |
21.10 |
| Package updates |
All installed packages are up to date |
I use this command and getting a error about administrator user.
virtualmin create-domain --domain example.com --user admin123 --pass mysecurepassword --group example.com --email admin123@example.com --desc "My Example Domain" --template "Default Settings" --plan "Default Plan" --web
(error produced) A website cannot be enabled without an administration user
As far as I can see --user is the admin user, any idea what wrong with the command?
Try using parameters: --unix (for creating the user) and --dir (for home dir creation)
Nope,
virtualmin create-domain --unix admin123 --pass mysecurepassword --group example.com --email admin123@example.com --domain example.com --desc "My Example Domain" --template "Default Settings" --plan "Default Plan" --web
Unknown parameter admin123
I shouldn’t have to work out --dir and the error is A website cannot be enabled without an administration user
How about
virtualmin create-domain --domain example.com --user admin123 --pass mysecurepassword --group example.com --email admin123@example.com --desc "My Example Domain" --template "Default Settings" --plan "Default Plan" --web --unix --dir
Works for me.
yes thank you, was bugging me
They must be needed those switches for some reason. Plus the error is misleading