Ubuntu系统开启root权限(命令行): 1、sudo passwd root 2、sudo vim /etc/ssh/sshd_config,将PermitRootLogin改成yes,保存退出并重启下sshd服务