BIND 10 #2713: b10-cmdctl-usermgr's prompts should be revisited

BIND 10 Development do-not-reply at isc.org
Tue Feb 12 10:44:42 UTC 2013


#2713: b10-cmdctl-usermgr's prompts should be revisited
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  Next-
           Component:  cmd-ctl       |  Sprint-Proposed
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 Here is an example with better messages:
 {{{
 Desired username:<space><wait><echo-username>
 Desired password:<space><wait><don't-echo-password>
 Account was successfully created.
 Account could not be created: <error>.
 }}}

 There's no need for "continue to create new account". If the user wants
 multiple accounts, they can run the tool again.

 Options:
 {{{
 Usage: b10-cmdctl-usermgr [options] <path-to-accounts-file>
            -h, --help    Show this help message and exit
            -v, --version         Get version number
            -c, --create          Create a new file (default is to update
 existing one)
            -u, --username=<username>
            -p, --password=<password>
 }}}

 If the user already exists, the user's password is updated. We could
 improve the options to also allow for deleting users.

 This is just one example. Others can review it and suggest changes.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2713#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list