3.8. Changing Default User Configuration
realmdsystem supports modifying the default user home directory and shell POSIX attributes. For example, this might be required when some POSIX attributes are not set in the Windows user accounts or when these attributes are different from POSIX attributes of other users on the local system.
realm joincommand has not been run yet. If a system is already joined, change the default home directory and shell in the
/etc/sssd/sssd.conffile, as described in the section called “Optional: Configure User Home Directories and Shells”.
[users]section in the
default-homeoption sets a template for creating a home directory for accounts that have no home directory explicitly set. A common format is
%dis the domain name and
%uis the user name.
default-shelloption defines the default user shell. It accepts any supported system shell.
[users] default-home = /home/%u default-shell = /bin/bash