Como revogar este comando?

0

SO: Ubuntu Server 14.04 LTS

Eu apenas cometi um erro simples, não sei o que eu escrevo, porque agora não consigo rastrear o histórico de comandos.

Acho que usei $ chmod go + wx / tmp / tomcat7-tomcat7-tmp

Aqui está o problema definido:

Devido à ação passada, o resultado é ... o sistema de arquivos foi alterado para 777:

Agora não consigo fazer login como root ou usuário normal também.

Alguém pode me ajudar a recuperar meu servidor para o estágio normal?

Aqui está a saída do console quando eu tentei usar o login ssh

$ssh user@ip
output : ssh_exchange_identification: read: Connection reset by peer

Eu também tentei fazer isso.

$ssh -v user@ip
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ip [ip] port 22.
debug1: Connection established.
debug1: identity file /home/kiran/.ssh/id_rsa type 1
debug1: identity file /home/kiran/.ssh/id_rsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_dsa type -1
debug1: identity file /home/kiran/.ssh/id_dsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_ecdsa type -1
debug1: identity file /home/kiran/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_ed25519 type -1
debug1: identity file /home/kiran/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
ssh_exchange_identification: read: Connection reset by peer

Obrigado & amp; Atenciosamente.

    
por Jaccs 17.12.2016 / 15:08

0 respostas