How to change the default "admin" username to be something else?
-
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?
-
checked upstream and found no answer to this - opened a discussion about it here: https://github.com/ellite/Wallos/discussions/683
-
Upstream dev said the username is chosen during initial registration, so I'm guessing it's hardcoded in the packaging. Any way around this?
-
-
-
@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.