Dixie Pine wrote on 10/20/09 10:27:
> On 10/19/09 18:16, Bill Shannon wrote:
>> --user really is just an asadmin option, except with create-domain
>> we make it a *required* option. There was no other good way to specify
>> that requirement in the command usage so I added it as a subcommand
>> option that is required.
>>
> okay. What description do you want for the option? The asadmin option
> version says this:
>
> --user The user name of the authorized administsrative user of the DAS.
Well, since adding the --nopassword option, it's no longer true that
--user is required, so I'll update the command usage to remove --user.
It will just be an asadmin utility option, but the man page will need
to describe how it's used.
This is another one of those "you have to specify option A or option B"
cases. If you specify --nopassword, --user is optional.
--user specifies the user name of the administrative user that will be
created for the new domain. If not specified, and --nopassword is specified,
the default user name "admin" is used.
Try this:
The create-domain command creates a domain with a single administrative
user specified by the --user asadmin utility option. If the --nopassword
option is specified and the --user option is not specified, the default
admin user "admin" is used. If the --nopassword is not specified, a user
name is required and will be prompted for (if interactive) if not specified
using the --user option.