On 22/02/2020 23.45, Bernard Lang wrote:
* Knurpht-openSUSE <>, le 22-02-20, a écrit:
Looks like, like me, you never changed the packaged default file, in which case it's safe to go: cp /etc/nsswitch.conf /etc/nsswitch,.conf.`date +%F` cp /etc/nsswitch.conf.rpmnew /etc/nsswitch.conf
Thanks for all answers. They seem to suggest that I should consider that my /etc/nsswitch.conf was never edited, and that I should therefore simply replace it by the file nsswitch.conf.rpmnew, as explained, e.g., in "Dealing with .rpmnew and .rpmsave files" located at https://www.linux.com/news/dealing-rpmnew-and-rpmsave-files/
However the info in my post shows a third file, nsswitch.confbak with a date older than nsswitch.conf and nsswitch.conf.rpmnew
Though I did not do any editing myself, I have to assume that some modification must have been done by/for some piece of software ... hopefully for a good reason, renaming the original file nsswitch.confbak, and keeping the modified file as nsswitch.conf.
Maybe YaST :-? ...
It is not unfrequent that a configuration created by une user has to be later maintained by another one, who does not know everything about it. This should be supported (not a criticism of SUSE).
So you write comments explaining each change you do. You can not force others to do the same... unfortunately >:-) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)