Fossil

View Ticket
Login
2010-01-30
15:32
In addition to ticket [9195b1e5f3] and commit [b8d812efb9], this adds the -A|--admin-user options to the clone command. check-in: d3e38231f2 user: jeremy_c tags: trunk
2010-01-26
15:12 Closed ticket [9195b1e5f3]: Support "fossil new myfossil.fsl user=root password=test1234" plus 1 other change artifact: 10b11801a1 user: anonymous
15:06 Open ticket [9195b1e5f3]. artifact: 4acf804d29 user: anonymous
14:41 Ticket [9195b1e5f3]: 1 change artifact: 7889a2195d user: jeremy_c
14:41 Closed ticket [9195b1e5f3]. artifact: 4c543e3c48 user: jeremy_c
14:38
Added --admin-user|-A USERNAME to the new command which will set the default admin user name. If not supplied, the existing mechanism is used to determine the default user name. This implements [9195b1e5f3]. check-in: b8d812efb9 user: jeremy_c tags: trunk
2010-01-02
21:08 Ticket [9195b1e5f3] Support "fossil new myfossil.fsl user=root password=test1234" status still Open with 2 other changes artifact: 6588eb9d40 user: jeremy_c
15:56 New ticket [9195b1e5f3]. artifact: f079b7699c user: anonymous

Ticket Hash: 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
16.18 years ago
Created: 2010-01-02 15:56:17
16.24 years ago
Version Found In: 5d16ca43f1
Description:
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#