2f7e0b8489
Always use create_homedir when we are asked to create a home directory in the User class. Don't use the -m and -k parameters from useradd / luseradd as they behave differently with respect to preexisting home directories. Instead always specify -M to ensure that useradd / luseradd do not try to create the home directory. This does not change potential different behaviours in child classes of the User class. Consider the new umask option from #73821 in create_homedir as well as we do not let luseradd / useradd create the home directory any longer. |
||
---|---|---|
.. | ||
main.yml | ||
test_create_system_user.yml | ||
test_create_user.yml | ||
test_create_user_home.yml | ||
test_create_user_password.yml | ||
test_create_user_uid.yml | ||
test_expires.yml | ||
test_expires_min_max.yml | ||
test_expires_new_account.yml | ||
test_expires_new_account_epoch_negative.yml | ||
test_local.yml | ||
test_local_expires.yml | ||
test_local_missing_parent_dir.yml | ||
test_no_home_fallback.yml | ||
test_password_lock.yml | ||
test_password_lock_new_user.yml | ||
test_remove_user.yml | ||
test_shadow_backup.yml | ||
test_ssh_key_passphrase.yml | ||
test_umask.yml |