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

已提问 5 年前296 查看次数
1 回答
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
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容