a*s 发帖数: 425 | 1 sorry that I couldn't type chinese...
I just used vim to edit sudoers file
however something goes wrong, and now I could not use sudo anymore.
Therefore I could modify the original file back...
Any suggestion?
My system is Ubuntu 12.04, and my machine don't have CDrom, so I could not
boot from live CD... |
a*s 发帖数: 425 | 2 solved.
google is great
use pkexec visudo
【在 a*s 的大作中提到】 : sorry that I couldn't type chinese... : I just used vim to edit sudoers file : however something goes wrong, and now I could not use sudo anymore. : Therefore I could modify the original file back... : Any suggestion? : My system is Ubuntu 12.04, and my machine don't have CDrom, so I could not : boot from live CD...
|
d********g 发帖数: 10550 | 3 所以不要直接vim,都是visudo的
【在 a*s 的大作中提到】 : sorry that I couldn't type chinese... : I just used vim to edit sudoers file : however something goes wrong, and now I could not use sudo anymore. : Therefore I could modify the original file back... : Any suggestion? : My system is Ubuntu 12.04, and my machine don't have CDrom, so I could not : boot from live CD...
|
j**u 发帖数: 6059 | 4 ubuntu都12.04了?我还在用10.04LTS。
【在 a*s 的大作中提到】 : sorry that I couldn't type chinese... : I just used vim to edit sudoers file : however something goes wrong, and now I could not use sudo anymore. : Therefore I could modify the original file back... : Any suggestion? : My system is Ubuntu 12.04, and my machine don't have CDrom, so I could not : boot from live CD...
|
j*a 发帖数: 14423 | 5 stick to LTS
【在 j**u 的大作中提到】 : ubuntu都12.04了?我还在用10.04LTS。
|
j**u 发帖数: 6059 | 6 12.04也是LTS,原来还没有正式出,刚刚查的。
【在 j*a 的大作中提到】 : stick to LTS
|