!['apt-get 업그레이드'에서 실패한 경우 사용자 정의 /etc/sudoers를 어떻게 교체합니까?](https://rvso.com/image/886361/'apt-get%20%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C'%EC%97%90%EC%84%9C%20%EC%8B%A4%ED%8C%A8%ED%95%9C%20%EA%B2%BD%EC%9A%B0%20%EC%82%AC%EC%9A%A9%EC%9E%90%20%EC%A0%95%EC%9D%98%20%2Fetc%2Fsudoers%EB%A5%BC%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%EA%B5%90%EC%B2%B4%ED%95%A9%EB%8B%88%EA%B9%8C%3F.png)
나는 그랬다 sudo apt-get update && sudo apt-get upgrade
. sudoers 파일이 변경되는 sudo 패키지에 도달할 때까지 진행되었습니다. VIM에서 diff를 호출하고 :q
. 다시 메시지를 표시하는 대신 기본 작업을 수행하고 변경된 버전을 유지했습니다.
/etc/sudoers의 패키지 배포 버전을 설치하려고 했는데 나중에 어떻게 해야 합니까? 나는 apt-get install --reinstall sudo
변화 없이 노력했다.
출력 apt-get upgrade
:
Setting up sudo (1.8.16-0ubuntu1.2) ...
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] ? D
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] ?
...