刪除vim-minimal致使sudo不可用

Ok, if anyone ends up in a similar situation, you can use pkexec yum install sudo. pkexec will let you enter your password in your OS's GUI.ubuntu

pkexec allows an authorized user to execute PROGRAM as another user. If
  username is not specified, then the program will be executed as the
  administrative super user, root.

This helped: http://askubuntu.com/questions/434525/can-sudo-be-reinstalled-after-being-removedpost

相關文章
相關標籤/搜索