ubuntu "sudo apt-get upgrade" 时千万不要做这个操作啊, 小心失去sudo权限

Configuration file '/etc/sudoers'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** sudoers (Y/I/N/O/D/Z) [default=N] ? Y

Installing new version of config file /etc/sudoers ...

 

sudo apt-get upgrade时遇到这个选项,这里千万千万不要选择Y,选择了Y意味着所有sudo用户都会被覆盖掉,之前的配置都没有了。我选择这个Y之后,现在已经没有人有我们服务器的sudo权限了。。。大坑啊。。。

 

喜欢本文请打赏,一毛两毛也是个意思,么么哒

支F宝账号:[email protected]

你可能感兴趣的:(ubuntu "sudo apt-get upgrade" 时千万不要做这个操作啊, 小心失去sudo权限)