[Ubuntu-zh] 有谁知道sudo玩坏了怎么恢复?

Zhiwei Yang tencrance在gmail.com
星期日 九月 16 02:43:27 UTC 2012


没什么的。这次又学到了不少,以前还真很少关注这些。
我用的是ubuntu ,进grub然后进单用户模式,首先将文件系统改为可读写,然后增加一个root密码
,再重启去修复sudoers的。谢谢各位提供供解决的信息 :-)
On Sun, Sep 16, 2012 at 9:04 AM, Xidorn Quan <quanxunzhen在gmail.com> wrote:

> 所以说要用 visudo 来修改 sudoers 不要自己手动乱修改(
>
> On Sun, Sep 16, 2012 at 12:58 AM, Zhiwei Yang <tencrance在gmail.com> wrote:
> > sudo: >>> /etc/sudoers:syntax error 在行 9 附近<<<
> > sudo: >>> /etc/sudoers:syntax error 在行 9 附近<<<
> > sudo: /etc/sudoers 中第 9 行附近有解析错误
> > sudo: 没有找到有效的 sudoers 资源,退出
> > sudo: 无法初始化策略插件、
> >
> > 这个怎么恢复过来呢?
> >
> >
> >
> >
> > --
> > Best Regards.
> > When once you have tasted flight, you will forever walk the earth with
> your
> > eyes turned skyward, for there you have been and there you will always
> long
> > to return.
> > ― Leonardo da Vinci
> > weibo.com/tencrance
> > Wuhan,China.
> > -------------- 下一部分 --------------
> > 一个HTML附件被移除...
> > URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120916/f32c6945/attachment.html
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh在lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Best Regards.
When once you have tasted flight, you will forever walk the earth with your
eyes turned skyward, for there you have been and there you will always long
to return.
― Leonardo da Vinci
weibo.com/tencrance
Wuhan,China.
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120916/0657ee14/attachment.html>


关于邮件列表 ubuntu-zh 的更多信息