Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

su - mastodon: "This account is currently not available." #1372

Open
tibequadorian opened this issue Dec 14, 2023 · 2 comments
Open

su - mastodon: "This account is currently not available." #1372

tibequadorian opened this issue Dec 14, 2023 · 2 comments
Assignees
Labels
admin Managing a Mastodon instance install-guide Installing a Mastodon instance

Comments

@tibequadorian
Copy link
Contributor

The following line in https://docs.joinmastodon.org/admin/install/#installing-ruby

adduser --disabled-login mastodon

will set the login shell to /usr/sbin/nologin and therefore the following line

su - mastodon

results in

This account is currently not available.

unless used with -s /bin/bash

This happened to me on Debian 12.
See this commit: https://salsa.debian.org/debian/adduser/-/commit/427ade7d9116af5af7baa9d0c538e14fa86560cf

@vmstan
Copy link
Contributor

vmstan commented Dec 27, 2023

I think I've run into this in testing as well.

@andypiper andypiper self-assigned this Jan 11, 2024
@andypiper andypiper added install-guide Installing a Mastodon instance admin Managing a Mastodon instance labels Jan 11, 2024
@Lastorder-DC
Copy link

--disabled-login should be --disabled-password if not setting password is primary objective.
above error can be fixed by setting shell by chsh -s /bin/bash mastodon

p.s.) It's really hard to change single word, is it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin Managing a Mastodon instance install-guide Installing a Mastodon instance
Projects
None yet
Development

No branches or pull requests

4 participants