yast / yast-yast2

YaST module yast2
http://en.opensuse.org/Portal:YaST
GNU General Public License v2.0
56 stars 44 forks source link

bsc#1184131: use /etc/login.defs for shadow configuration #1152

Closed imobachgs closed 3 years ago

imobachgs commented 3 years ago

Back in 2019, we added support to read/write the shadow configuration from /usr/etc and /etc (see bsc#1155735) for further details. This change was wrongly included in SLE 15 SP2 (and Leap 15.2): the shadow package included in that version only reads the settings from /etc/login.defs.

This PR partially reverts those changes, so YaST will only take /etc/login.defs into account.

Fixes bsc#1184131.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.4%) to 30.739% when pulling 25c9d7eb844776de9aef0939a6f1cc62a1f7d765 on bsc-1184131 into e914214656d217ae05a51f6347e22b520caae907 on SLE-15-SP2.