Updated libuser package fixes possible crash
Publication date: 07 Jan 2018Modification 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.
SRPMS
6/core
- libuser-0.62-8.1.mga6