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

Password authentication fails for su #29

Closed
eullerborges opened this issue Sep 17, 2017 · 7 comments
Closed

Password authentication fails for su #29

eullerborges opened this issue Sep 17, 2017 · 7 comments

Comments

@eullerborges
Copy link

The su -c commands for installing warsaw and starting the service fail (Authentication Error) because the root password has not been set in Ubuntu, so inputting an empty password or any password at all fails. I had to set the password on the Dockerfile through adding this line to the RUN command (substituting by the desired password):

&& echo root:<password> | chpasswd \

and also remove this line that unsets the password:

&& passwd -d root \

After doing that, it all worked like a charm for BB.

Thanks for the great work, man.

@farribeiro
Copy link
Owner

farribeiro commented Sep 18, 2017

The unset works fine, here not see that error... If you would like suggest a PR for this, this will is wellcome.

This warsaw is for CEF and have reports that works with BB by Issue #9 (comment)

@farribeiro
Copy link
Owner

Alguém tem queixa referente este solicitação?

@ninrod
Copy link

ninrod commented Dec 7, 2017

Sim. Eu tenho o mesmo problema.

@farribeiro
Copy link
Owner

farribeiro commented Dec 7, 2017

Mande informações de como tratar este problema, apenas setar soluciona a questão?

A discussão continua no PR

@bellini666
Copy link

Estou com um problema em relação à senha. Em docker-compose run --name wscef wscef ele me pede a senha e, ao colocar wscef, ele funciona certinho. Inclusive até abre o firefox..

Agora, quando vou rodar o container com docker start -a wscef, ele aparece o prompt Senha:, e apos colocar wscef e apertar enter, o mesmo fica travado.

Algumas coisas interessantes aqui:

  1. Diferentemente do run, no start, a senha que eu digito fica visível. Não funciona como um prompt de senha su padrão.
  2. Ao dar um ps aux no meu sistema, vejo que o processo su - c <path_to_warsaw> está realmente travado.

@bellini666
Copy link

Em relação ao meu comentário, aparentemente, apos ler o man docker-start, ele não estava conectando no STDIN. Rodando docker start -i -a wscef (com o -i) resolveu!

@farribeiro
Copy link
Owner

farribeiro commented Dec 12, 2017

@hackedbellini Eu irei acrescentar sua resolução ao README brevemente o possível

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants