System account login

Hello! I am new to this! How do I login to the ‘system’ account?

3 Me gusta

I don’t think that’s possible. What are you trying to accomplish after you log in as system? There might be an alternative method.

3 Me gusta

I just want to change some of the settings.

2 Me gusta

@downey Also is there a way to create an account manually without an email?

2 Me gusta

Almost any setting can be changed by your own account through the web interface, as long as your account has ‘admin’ rights.

AFAIK, they only way to do so, is you’d need to go through the account creation process and use any email address. Again as an admin account for the site, you can go pull up the user in the admin tools and manually override their email verification (for example in the case you used a fake email address).

Others may know more… :slight_smile:

3 Me gusta

I see. I’ll try it out!

1 me gusta

You can’t login as system.

Admins do that not system.

2 Me gusta

You can’t. You really need to get mail working or you won’t have a forum. This might help you, though: Create Admin Account from Console.

3 Me gusta

@pfaffman Is there a way to stage a user? Bit confused by what that means/

2 Me gusta

As others have replied here, it is not possible to login as the system user. The system user is a special account that is automatically created by Discourse. It is used for performing some automated functions on the site. It is also used as the API user if you make API requests with the All Users API key.

If the site that you are asking about is on our hosting, you do not have access to the Rails console, so the guide for creating accounts from the Rails console will not apply to you.

Have a look at this topic What is a staged user?

If you can give us specific details about what you are trying to accomplish, we will try to help.

4 Me gusta

Tengo un caso que puede justificar la necesidad de iniciar sesión como “system”

Así que… cometí un error y moví una categoría dentro de otra categoría (creando una subcategoría). Guardé la subcategoría sin añadir ningún usuario en los permisos… así que, incluso como administrador, no puedo acceder a ella. Cuando lo intento, obtengo el error Oops! That page doesn’t exist or is private. (¡Uy! Esa página no existe o es privada).

Esperaba poder iniciar sesión como system para volver a añadir los permisos y que los administradores pudieran acceder a esa subcategoría.

ACTUALIZACIÓN

Pude usar /safe-mode para solucionar el problema :slight_smile:

1 me gusta

Me alegra que el modo seguro te haya permitido solucionarlo :+1:

Solo como información, pero guardar una categoría sin un grupo específico en los permisos debería asignarle acceso/vista solo para personal por defecto. Si ese no es el caso, o si algún plugin o componente de tema lo bloqueó de alguna manera, sería bueno si pudieras compartir los detalles. :crossed_fingers:

1 me gusta

¡Yo también!

Lo habría hecho, pero ahora no puedo reproducir el problema, así que quedará como un misterio.

La mejor explicación que puedo dar es…

Originalmente tenía la Categoría #1 con la Subcategoría #1 dentro.

  • Ambas tienen permisos para que todos lean/escriban.

Dentro de la configuración de la Subcategoría #1, cambié el padre a la Categoría #2.

  • La Categoría #2 tiene permisos para Grupo Personalizado con lectura, personal con lectura/escritura.
  • La Subcategoría #1 no tiene a nadie en los permisos.

Cuando intenté guardar los cambios, recibí un error que decía que no podía guardar hasta que agregara permisos para al menos un usuario. Así que, en lugar de agregar alguno, volví a la página principal, fui a la Categoría #2 y no pude ver la Subcategoría #1.

También volví a la Categoría #1 y no pude encontrar la Subcategoría #1. Aquí es donde debería haber estado si hubiera pensado que no podía guardar los cambios.

Luego usé la búsqueda para encontrar un tema dentro de la Subcategoría #1. Pude ver el tema. Pero cuando intenté ir a la Subcategoría #1 para ver los otros temas, obtuve el error 404.

Cuando usé el modo seguro, pude encontrar la Subcategoría de vuelta donde estaba originalmente en la Categoría #1.

Espero que eso ayude un poco.

3 Me gusta