Changes

Jump to navigation Jump to search
553 bytes added ,  21:22, 28 September 2013
adding ubuntu mkhomdir
Line 109: Line 109:     
     sudo chmod 0440 /etc/sudoers.d/domain_admins
 
     sudo chmod 0440 /etc/sudoers.d/domain_admins
 +
 +
== pam_mkhomdir.so ==
 +
 +
pam_mkhomdir is responsible for creating the home directory of users that don't have one.  Without it you get the following message.
 +
 +
    Could not chdir to home directory /home/PS1/username: No such file or directory
 +
 +
=== ubuntu ===
 +
 +
Create a file called /usr/share/pam-configs/my_mkhomedir:
 +
 +
    Name: activate mkhomedir
 +
    Default: yes
 +
    Priority: 900
 +
    Session-Type: Additional
 +
    Session:
 +
            required                        pam_mkhomedir.so umask=0022 skel=/etc/skel
 +
 +
and then run:
 +
    sudo pam-auth-update
 +
    
== /etc/lightdm/lightdm.conf ==
 
== /etc/lightdm/lightdm.conf ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu