Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Wallos
  3. How to change the default "admin" username to be something else?

How to change the default "admin" username to be something else?

Scheduled Pinned Locked Moved Solved Wallos
5 Posts 2 Posters 251 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #1

    At first glance, it doesn't seem I can make a second user an admin or change the username of the default admin account to something less obvious. Is it possible?

    1 Reply Last reply
    0
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by
      #2

      checked upstream and found no answer to this - opened a discussion about it here: https://github.com/ellite/Wallos/discussions/683

      1 Reply Last reply
      0
      • humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by
        #3

        Upstream dev said the username is chosen during initial registration, so I'm guessing it's hardcoded in the packaging. Any way around this?

        1 Reply Last reply
        0
        • humptydumptyH humptydumpty marked this topic as a question on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          yes, hardcoded in packaging. But I guess you can change it in the sqlite3 db directly . It is in /app/data/db/wallos.db . From a quick test, update user set username='girish' where username='admin'; works in the sqlite3 prompt...

          humptydumptyH 1 Reply Last reply
          3
          • girishG girish has marked this topic as solved on
          • girishG girish

            yes, hardcoded in packaging. But I guess you can change it in the sqlite3 db directly . It is in /app/data/db/wallos.db . From a quick test, update user set username='girish' where username='admin'; works in the sqlite3 prompt...

            humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by humptydumpty
            #5

            @girish Worked like a charm. Thanks Girish!

            To make it easier for other noobs like myself, do the following:

            Run these commands using the app's terminal in your Cloudron dashboard (one line at a time).

            cd /app/data/db
            sqlite3 wallos.db
            UPDATE user SET username='your_new_username' WHERE username='admin';
            CTRL+D
            

            Notes: Replace your_new_username above with your chosen username. Restart the app. Now, log in using the new username and your old admin password.

            P.S. Use Ctrl + Shift + V for pasting in the terminal.

            1 Reply Last reply
            4
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search