OpenSolaris Automagic homedir Creation
Tuesday, September 1st, 2009Often with LDAP setups a user will log into a box where his home directory doesn’t exist. Linux provides us with a pam_mkhomedir.so module that automagically creates missing home directories for you. No such module exists for opensolaris. This bug report offers an alternative using autofs.
#!/bin/bash
# if the filesystem is available under /export/home, then serve [...]