mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix create home dir fallback (#49262)
When a user home dir is not created with `useradd`, the home dir will now be created with umask from /etc/login.defs. Also fixed a bug in which after a local user is deleted, and the same user exists in the central user management system, the module would create that user's home.
This commit is contained in:
committed by
ansibot
parent
37960ccc87
commit
eb8294e6d9
6
changelogs/fragments/49262-user.yml
Normal file
6
changelogs/fragments/49262-user.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
bugfixes:
|
||||
- "user - fixed the fallback mechanism for creating a user home directory when
|
||||
the directory isn't created with `useradd` command. Home directory will now
|
||||
have a correct mode and it won't be created in a rare situation when a local
|
||||
user is being deleted but it exists on a central user system
|
||||
(https://github.com/ansible/ansible/pull/49262)."
|
||||
Reference in New Issue
Block a user