help! Ssh can not be connected to SELinux

0

Since the server was attacked, I started selinux, causing me to ssh not connect to the server now, prompt /bin/bash: Permission denied
Ec2 server centos Now the console can't enter the server to shut down selinux, my files are not backed up, help, thank you very much

Edited by: handsomehaitao on Apr 2, 2019 10:52 PM

feita há 5 anos296 visualizações
1 Resposta
0

I'm assuming you used CentOS from the marketplace and thus cannot mount the volume as a secondary drive to another instance to undo your change, nor do you have a snapshot. (Otherwise, do one of those).

It appears to can have AWS remove the marketplace code from a snapshot (https://forums.aws.amazon.com/message.jspa?messageID=541676). I would recommend doing it through a support ticket. Once complete, you can create a new volume that you can mount on a working system, disable SELinux, and reattach to the original instance.

rsrcno
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas