Menu

Automated user creation at setup

schirrms
2025-06-16
2025-06-17
  • schirrms

    schirrms - 2025-06-16

    Hi,

    I'm working on a full automated iTop installation, and so far, with the great iTop Automated Installation and some personal tweek, this is working quite nicely.
    But I would also create some technical accounts (at least, one for running the crontask, as I would if possible avoid the use of the admin account). I think that I would be able to do that trough the API, but the admin account (my only account after installation) is not allowed to requests the API 🙂.

    So far, I didn't find another way to modify the configuration (outside the graphical interface, of course).

    Am I missing the obvious ?

    For the record, I'm working on iTop 3.2.1 (in a container environment, but this is probably not relevant here).

    Thanks,

    Pascal

     
  • schirrms

    schirrms - 2025-06-16

    Well, upon further research, I found this page : Use case: importing persons with their corresponding login into iTop

    I'll search in this direction, but feel free to give me other hints 😉

    Pascal

     
  • Vincent @ Combodo

    That's the best option.
    I have looked at a different direction, but it's a dead-end.

     
    • schirrms

      schirrms - 2025-06-16

      Hi Vincent,

      Thanks for your answer, I did test with the CSV import, and this does the trick forme (and in fact, this allow me any -well most any- tuning I could plan).

      This is OK for me 🙂

       
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2025-06-17

    Interesting question! I have asked myself the question a lot of times as well; but didn't put the effort in yet.

    I think you could also include an extension that just has a module installer that creates the user after database creation perhaps; or after the config file (not sure how well it would work).

    I was also thinking about an extension with demo data - but that would mean you'd need to get rid of all the other demo data in the official datamodel, so I consider that to be a dead end.

    Of course, there's also always direct database manipulation (manually, PHP, some other form of setup, ...).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.