进单用户模式直接修改不就好了干嘛还那么麻烦

2012/9/16 Zhiwei Yang <tencra...@gmail.com>:
> 没什么的。这次又学到了不少,以前还真很少关注这些。
> 我用的是ubuntu ,进grub然后进单用户模式,首先将文件系统改为可读写,然后增加一个root密码
> ,再重启去修复sudoers的。谢谢各位提供供解决的信息 :-)
> On Sun, Sep 16, 2012 at 9:04 AM, Xidorn Quan <quanxunz...@gmail.com> wrote:
>
>> 所以说要用 visudo 来修改 sudoers 不要自己手动乱修改(
>>
>> On Sun, Sep 16, 2012 at 12:58 AM, Zhiwei Yang <tencra...@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 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

回复