JerryWilliams wrote:
I am looking for a way to create the home directory and populate it
with
the shell profiles.
Normally I would use useradd, but it breaks when you use NIS or LDAP or
winbind.
It would be nice if useradd had an option that would say yes I know this
account exits in LDAP, just make the home directory and fill it with the
normal stuff and don’t put anything in /etc/passwd or /etc/shadow.
I guess I am asking for an enhancement to useradd.
Is there a better way to do this?
You might want to investigate pam_mkhomedir.
Or setup an NFS filer and look into automount.
rob