Ubuntu 下 su:authentication failure的解决办法

字体大小: 中小 标准 ->行高大小: 标准

先说几个Ubuntu基础命令:

  1. su                  //切换到超级用户  
  2. exit               //从超级用户退出到原用户  
  3. su  username         //切换到 username用户  
 
  1. sudo adduser username //增加用户username  

Ubuntu下使用 su 切换到超级用户时候遇到下面的问题

  1. su: Authentication failure  
解决办法:
  1. $ sudo passwd root  
  2. Enter new UNIX password:   
  3. Retype new UNIX password:   
  4. passwd: password updated successfully  

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/58867.html