背景:在装完hadoop及jdk之后,在执行start-all.sh的时候出现
root@localhost's password:localhost:permission denied,please try again。

解决方案:

1.修改root密码:#sudo passwd root

2.辑配置文件,允许以 root 用户通过 ssh 登录:sudo vi /etc/ssh/sshd_config

 找到:PermitRootLogin prohibit-password禁用

   添加:PermitRootLogin yes

3.sudo service ssh restart

重新启动成功。

相关文章:

  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-05-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-06-07
  • 2021-09-22
  • 2021-10-12
相关资源
相似解决方案