View Ticket
Not logged in
Ticket UUID: 9195b1e5f38f15acf19b6e629fbacb122665dabc
Title: Support "fossil new myfossil.fsl user=root password=test1234"
Status: Closed Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2010-01-26 15:12:41
Version Found In: 5d16ca43f1
Description & Comments:
Beside the auto generated account/password, please add user specified account/password when creating a new fossil repository.

jeremy_c added on 2010-01-02 21:08:55:
My preference would be if the user/password were supplied at the command line then the auto-user would not be created. This is a good idea, not once has my "Windows" user name been what I wanted to really use.


jeremy_c added on 2010-01-26 14:41:14:
I implemented --admin-user|-A when creating a new repo file. I did not implement supplying the password on the command line. That can be changed easily enough in the ui or via fossil user password USERNAME PASSWORD. Setting the default user could not be altered before history was already created for that user.

As for adding a user in addition to the default admin user, you can do that after the repo is created via the ui or fossil user new ?USERNAME? ?CONTACT-INFO? ?PASSWORD?. Therefore, I am going to close this ticket.


jeremy_c added on 2010-01-26 14:41:36:
Fixed in [b8d812efb9]


anonymous added on 2010-01-26 15:06:47:
Thanks for fixing on account part of request, following log is a test.

root@600m:/pub/fossil.checkout/fossile.clone# fossil new t.fsl -A myadmin
project-id: ce14a6df0274e3b938efdd5f63bf806aba3768f4
server-id:  225fdc67e6dc811e7db0d1084c44fde38e3ddbf7
admin-user: myadmin (initial password is "e037e5")
root@600m:/pub/fossil.checkout/fossile.clone#

Is there a technical reason the password can't be manually specified as well ?


anonymous added on 2010-01-26 15:12:41:
I am closing this ticket, since password change can be done easily by following command.

root@600m:/pub/fossil.checkout/fossile.clone# fossil user password myadmin test -R t.fsl
root@600m:/pub/fossil.checkout/fossile.clone#