2012年9月2日
摘要: 刚装完linux要用到超级用户模式的时候出现这个错误。su: Authentication failure$ su - rootPassword:su: Authentication failureSorry.这时候输入$ sudo passwd rootEnter new UNIX password:Retype new UNIX password:passwd: password updated successfully 阅读全文
posted @ 2012-09-02 11:36 oceanking 阅读(3103) 评论(0) 推荐(0)
摘要: 网上有很多方法,做了很多实验,最终找到了PATH的根源上,个人认为修改/etc/environment这个办法最好,对Terminal或任何程序都有效。那些改/etc/bash.bashrc等方法只对Terminal有效,对QT等程序可能就没效果了。 阅读全文
posted @ 2012-09-02 10:35 oceanking 阅读(7717) 评论(0) 推荐(0)