摘要:
上接ssh下载,有于Ubuntu系统对于root用户限制ssh登录,我们需要修改文件root@linux~# vim /etc/ssh/sshd_configi进入编辑,将PermitRootLog in yes,允许root用户登入ssh(也可以用RSA配置)ifconfig查看IP地址,重启主机 阅读全文
摘要:
进入root用户,root@linux~#输入cp /etc/apt/sources.list /etc/apt/sources.list_backuproot@linux~# cd /etc/apt/root@linux~#/etc/apt# llroot@linux~#/etc/apt# vim 阅读全文
摘要:
1.使用sudo su root可以快速切换为root用户,输入密码后输pwd可以看到它还是在主目录下即/home/sdbi 显示为:用户名@主机名:/home/sdbi#即root@linux:/home/sdbi#2.而使用sudo su - 可以登入管理员用户 ,输pwd可以看到它在/root 阅读全文