*** is not in the sudoers file. This incident will be reported

二 21 2012 Published by under Linux/Ubuntu

手贱将账户类型从管理员改成了标准,从此没事就提示我输入管理员密码,事实上并没有设置专门的管理员密码。

终端sudo -i显示:Google,Ubuntu,WordPress,Linux

*** is not in the sudoers file. This incident will be reported.

解决方法:

用LiveCD编辑/etc/sudoers, 在root ALL=(ALL:ALL) ALL下一行添加***  ALL=(ALL:ALL) ALL,***是用户名。

保存重启进入Ubuntu,通过终端输入passwd修改管理员密码,通过该密码将账户类型修改回管理员即可。

 

 

 

本文链接地址: *** is not in the sudoers file. This incident will be reported



One response so far

备份VPS设置过程 | 2B or not 2B进行回复 取消回复