This repository contains a CFA class to deal with login.defs. But it only handles a limited set of configuration parameters. This adds umask to that set, since it's needed in order to configure useradd (at some point, the umask configuration was part of /etc/default/useradd but now it's only present in login.defs).
Taking the opportunity, this PR also adds another parameters that influence the behavior of useradd.
Coverage remained the same at 40.923% when pulling a228d8b12ccf327eaaf699bf72c77059c066147f on ancorgs:umask into b9658bbf18781953476333a219b1540b976a20c2 on yast:master.
This is a pre-requisite for https://github.com/yast/yast-users/pull/284
This repository contains a CFA class to deal with login.defs. But it only handles a limited set of configuration parameters. This adds
umask
to that set, since it's needed in order to configure useradd (at some point, theumask
configuration was part of/etc/default/useradd
but now it's only present in login.defs).Taking the opportunity, this PR also adds another parameters that influence the behavior of useradd.