Advisories ยป MGAA-2018-0009

Updated libuser package fixes possible crash

Publication date: 07 Jan 2018
Modification date: 07 Jan 2018
Type: bugfix
Affected Mageia releases : 6

Description

When creating a new user with userdrake, if a directory matching the
name supplied for the new user already exists userdrake will segfault,
leaving the new user created but without a home directory or mail
spool. This patch fixes that by preserving the existing directory by
re-naming it (appending an integer), and then proceeding to create the
new home directory in the usual manner and avoiding the segfault. This
allows the new user to log in with a home directory while preserving the
contents of the old directory in case data needs to be migrated.
                

References

SRPMS

6/core