Here is a quick update regarding pam-auth-update configuration for
pam_mkhomedir.  I suspect the best approach would be to split the
module into its own package, to allow it to be automatically enabled
by installing the package.

Since my initial report, I discovered that the umask and skel options
I proposed were redundant (identical to the current default values).
I also found that the silent flag could be dropped without any visible
problems.

Last, I believe it is a good idea to avoid using pam_mkhomedir for
cron jobs, and thus should set the "Session-Interactive-Only: yes"
flag.

This is the pam-configs file I am currently using in my tests:


Name: Create home directory during login
Default: yes
Priority: 0
Session-Interactive-Only: yes
Session-Type: Additional
Session-Final:
        optional        pam_mkhomedir.so


I hope a libpam-mkhomedir package can be implemented in Squeeze, to
make it trivial to set up a laptop based on Debian for disconnected
operations.  The setup would include libpam-ccreds, nscd and
libpam-mkhomedir, and if the default configuration requested in bugs
#566718 (libpam-ccreds) and #485282 (nscd).

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to