Skip to content

"st2 login" command is always failed with new user #5577

Answered by arm4b
Aliskaa asked this question in Q&A
Discussion options

You must be logged in to vote

Which authentication method did you configure in your st2 instance? See https://docs.stackstorm.com/authentication.html

The documentation you were following with linux user/password refers to PAM: https://docs.stackstorm.com/authentication.html#auth-backends

For sake of this example let us assume that the identity provider is managed by the OS on which StackStorm runs.

If you didn't change the auth method, the default is flat-file https://docs.stackstorm.com/authentication.html#authentication with configuration in the /etc/st2/htpasswd.
Check your st2.conf first:

mode = standalone
# Note: Settings below are only u…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Aliskaa
Comment options

Answer selected by Aliskaa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants