Você usou sudo
recentemente (precisa reinstalar login
)? Seja mais cuidadoso.
Veja como eu consegui o MEU sistema (YMMV) para me dizer como fazer:
w3@aardvark:~(0)$ type -p login
/bin/login
w3@aardvark:~(0)$ dpkg -S $(!!)
dpkg -S $(type -p login)
login: /bin/login
w3@aardvark:~(0)$ dpkg -l $(!! |cut -d: -f1)
dpkg -l $(dpkg -S $(type -p login) |cut -d: -f1)
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-==========================-==========================-=========================================================================================
ii login 1:4.2-3.1ubuntu5.3 amd64 system login tools
w3@aardvark:~(0)$ sudo apt-get install --reinstall --dry-run $(dpkg -S $(type -p login) |cut -d: -f1)
[sudo] password for w3:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdvbpsi10 libffmpegthumbnailer4v5 libllvm3.8 libllvm3.8:i386 libproxy-tools libupnp6 libva-drm1 linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
linux-headers-4.4.0-87-generic linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic linux-tools-4.4.0-83
linux-tools-4.4.0-83-generic linux-tools-4.4.0-87 linux-tools-4.4.0-87-generic pmount
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Inst login [1:4.2-3.1ubuntu5.3] (1:4.2-3.1ubuntu5.3 Ubuntu:16.04/xenial-updates, Ubuntu:16.04/xenial-security [amd64])
Conf login (1:4.2-3.1ubuntu5.3 Ubuntu:16.04/xenial-updates, Ubuntu:16.04/xenial-security [amd64])