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宝账号:2363891614@qq.com

点这里可以跳转到人工智能网站

发表评论