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.
16 lines
317 B
YAML
16 lines
317 B
YAML
user_home_prefix:
|
|
Linux: '/home'
|
|
FreeBSD: '/home'
|
|
SunOS: '/home'
|
|
Darwin: '/Users'
|
|
|
|
status_command:
|
|
OpenBSD: "grep ansibulluser /etc/master.passwd | cut -d ':' -f 2"
|
|
FreeBSD: 'pw user show ansibulluser'
|
|
|
|
default_user_group:
|
|
openSUSE Leap: users
|
|
MacOSX: admin
|
|
|
|
default_local_user_group:
|
|
MacOSX: admin
|