zhuhelong / Gitalk

0 stars 0 forks source link

Ubuntu18 下部署 | ZHL的博客 #22

Open zhuhelong opened 4 years ago

zhuhelong commented 4 years ago

https://myfavs.win/2019/11/26/Ubuntu18-%E4%B8%8B%E9%83%A8%E7%BD%B2/

开启 root1sudo passwd root // 之后按照提示输入密码 root 使用规则使用12su root // 使用 rootexit // 用完后退出,root 权限很高,不建议全部都使用 root 操作 远程登录(不建议使用)1234567sudo vi /etc/ssh/sshd_config// 将#PermitRootLogin prohibit-password