首页 > TAG信息列表 > ubuntu01pc1

ubuntu 中设置root账户登录

  001、 root@ubuntu01pc1:~# vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf ## 打开配置文件 [Seat:*]user-session=ubuntugreeter-show-manual-login=true        ## 增加一行,保存退出     002、 root@ubuntu01pc1:~# vim /root/.profile

ubuntu 中如何创建root用户

  001、 liujiaxin01@ubuntu01pc1:~/Desktop$ whoami liujiaxin01 liujiaxin01@ubuntu01pc1:~/Desktop$ sudo passwd root ## 创建root账户 [sudo] password for liujiaxin01: New password: Retype new password: passwd: password updated successfully

ubuntu 中 设置putty登录

  001、问题     002、检测是否安装了ssh root@ubuntu01pc1:~# ps -e | grep ssh     003、 安装ssh服务 root@ubuntu01pc1:~# apt install openssh-server openssh-client -y   004、启动ssh服务、查看状态 root@ubuntu01pc1:~# /etc/init.d/ssh start ## 启