一直用的微软云的体验账户.速度什么各项的都比较不错,唯一的缺点就是太贵了.不过试用账户大家都是最大化的用的.最近windows2012玩多了想尝试下linux了.安装完毕发现默认不是root账户很多东西都没有办法用.默认su root也没办法切换.研究了半天终于知道怎么搞了.操作如下:
[xzsd@xiaozhenghi ~]$ sudo passwd root
We trust you have received the usual lecture from the local SystemAdministrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.#此时需要输入创建时的用户密码[sudo] password for simialee: Changing password for user root.#设置root密码New password: #重复一次Retype new password: passwd: all authentication tokens updated successfully.设置完上面的就可以退出重新用root账户登录了.为了安全我们还可以禁用root改用密匙登录.


评论
还没有任何评论,你来说两句吧!