Ich habe es getan sudo apt-get update && sudo apt-get upgrade
. Es lief durch, bis es das Sudo-Paket erreichte, dessen Sudoers-Datei geändert wurde. Ich rief den Diff in VIM auf und beendete es mit :q
. Anstatt mich erneut zu fragen, führte es die Standardaktion aus und behielt meine geänderte Version bei.
Ich wollte die verteilte Paketversion von /etc/sudoers installieren. Wie kann ich das im Nachhinein tun? Ich habe es versucht apt-get install --reinstall sudo
, ohne eine Änderung.
Ausgabe von 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] ?
...