First Login and Changing the Defaults
A fresh BookStack has exactly one account, and its credentials are printed in the project's documentation for the whole world to read:
- Email:
admin@admin.com - Password:
password
This is a sensible way to ship software — the first person in needs a working key — and a terrible thing to leave in place. Admins have been caught out by this in every system that does it. Do this chapter now, before you write a single page.
Logging in the first time
Visit your BookStack's address. The login page links from the top right. Sign in with the default pair above. You land on the home page with the full administrative interface: Shelves, Books, My Account, and Settings are all visible, because this account can do everything.
Check: if the default login is refused, the install isn't finished — go back to chapter 3 and confirm the migrations ran.
Change the password, and the email too
Open My Account (top right), then Profile. Two things to change:
- The email address. Set it to an address you actually read. It is your login name from now on, and the address password resets go to. The lab renamed its admin to an invented person — Robin Ellis, robin@example.com — and the rest of this guide's transcripts show that name wherever the admin acts.
- The password. In My Account → Authentication, set a long one you don't reuse anywhere else. The current password is asked for as proof it's you.
(Installed with the newest Ubuntu script instead of by hand? That script asks for an admin email as it runs and generates the first password for you. There is no universal default to hunt down — but set your own password here all the same.)
Then prove the change took, the way the lab did:
- Log out.
- Try the old default password. It must be refused — bounced back to the login page.
- Log in with the new password. It must be accepted.
Check: both halves matter. A new password that works while the old one also works would mean you changed nothing that counts (it can happen when a form silently fails; chapter 14 tells that story too).
What else to do while you're an admin
- Settings → Customization holds the application name your readers will see. "BookStack" is fine; your group's name is friendlier.
- Decide about registration. By default new accounts are created by an admin, which is what most groups want. Public registration exists in Settings; leave it off unless you mean it.
- Consider a second admin eventually — one person locked out of the only admin account is a recovery story nobody enjoys. Chapter 8 covers creating users.
The rule this chapter is really about
Every default in a fresh install is a choice the developers made for a stranger. The default account is the only one that can hurt you today, so it's the one this chapter exists for. Change it, prove the change, then go and build your shelf.