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?
-
H humptydumpty marked this topic as a question on
-
G girish has marked this topic as solved on
-
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...@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+DNotes: Replace
your_new_usernameabove 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login