How to create home directory on LDAP login
This document (7008559) is provided subject to the disclaimer at the end of this document.
Environment
Novell Open Enterprise Server 2 Linux Support Pack 3
OES2 SP3
SUSE Linux Enterprise Server
SLES 10
SLES 11
Situation
How to create user home directories on ldap login.
How to dynamically create user home directories.
Resolution
In the /etc/pam.d/common-auth add
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
Modify the umask as desired
example: only the user can read, write and execute
umask=0077
Disclaimer
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7008559
- Creation Date:11-MAY-11
- Modified Date:27-APR-12
- NovellOpen Enterprise ServerOpen Workgroup Suite - Small Business Edition (NOWS SBE)
- SUSESUSE Linux Enterprise Server
- NetIQeDirectory
Did this document solve your problem? Provide Feedback
